Forum Moderators: open

Message Too Old, No Replies

fireFox not retriving value of TextBox

         

kadnan

6:56 am on Oct 5, 2005 (gmt 0)

10+ Year Member




i have following input tag

<input id="link_name" name="link_name" type="text" onClick="clickedMe()" onChange="javascript:blurSendMessage(0)" tabindex="1" autocomplete="off">

in ClickedMe()

function clickedMe()
{
alert(document.frmAddLinks['link_name'].value);

}

in IE it retrieves value,FF always sends EMPTY field,is this a Bug or what?

Thanks

-adnan

Bernard Marx

7:51 am on Oct 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can't replicate that behaviour.

kadnan

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

10+ Year Member



where can I post the code?

kadnan

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

10+ Year Member



ok here are the JS functions

[edited by: jatar_k at 3:14 pm (utc) on Oct. 5, 2005]
[edit reason] removed url [/edit]

Bernard Marx

12:40 pm on Oct 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I appreciate the difficulty, yet I won't really be able to debug the Javascript on it's own.
I certainly can't see anything wrong (as long as the box actually has the name, 'link_name')

----------
It has an id, so you could equally refer to it as

document.getElementById('link_name')
----------

kadnan

3:09 am on Oct 6, 2005 (gmt 0)

10+ Year Member



Actualy I was using document.frmAddlinks.link_name.value to pass the values,it was working fine on IE but its not passing value in FireFox

-adnan