o = document.getElementById('callback_form'); o.setAttribute("action","handler1_bel.php"); Works everywhere except IE
How to write something to work in all browsers?
o = document.getElementById('callback_form'); o.setAttribute("action","handler1_bel.php"); Works everywhere except IE
How to write something to work in all browsers?
o.action = "handler1_bel.php"; It is necessary to write like this:
document.callback_form.setAttribute("action","handler1_bel.php"); where callback_form is name .
document.callback_form almost indistinguishable from document.getElementById('callback_form') with the exception of what may be missing. - GrundySource: https://ru.stackoverflow.com/questions/616769/
All Articles