this simple code works in firefox, but doesn't work on googlecrome, can anyone fix?
Code:function save_select_image(media_id, str_action) { document.getElementById("icon_for_member").value = str_action; document.getElementById("media_id").value = media_id; document.forms["mood_icons_form"].action = "processing/moodGeneral.php?select_image=on"; document.forms["mood_icons_form"].target = "mood_process"; document.forms["mood_icons_form"].submit(); }
the googloe crome inspector said :
can anyhone here help to tix this code?Code:Uncaught TypeError: Object #<a NodeList> has no method 'submit' http://smansakra.jwnmedia.com/smansakra.net.tc/a.php (line 157)
thanks



Reply With Quote


Bookmarks