Forum Moderators: open

Message Too Old, No Replies

weord InnerHTML behaviour of textbox in FireFox

         

kadnan

5:49 am on Oct 11, 2005 (gmt 0)

10+ Year Member



Hi

i have the following html INput tag

<input name="menu_category_name" id="menu_category_name" onchange="javascript:blurCatMessage(0)" value="" type="text">

if i call
document.getElementById("menu_category_name").innerHTML=somevalue

it adds ab <INPUT> tag along with the value and doesnt refresh the text of the Box

by calling
document.frmAddLinks.menu_category_code.value=somevalue

its not assinging any value

any guidance?

thanks

muneepenee

7:01 pm on Oct 11, 2005 (gmt 0)



1. tu put sumthang in input text box du sumthang like this...
document.inputf.rateint.value="this is a test";
2. tu yuze innerhtml, the getter shood be a <div>
that wae it kan hold unlimited suppli av stuff.