By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,453 Members | 961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,453 IT Pros & Developers. It's quick & easy.

Javascript with FireFox

P: 2
I've read everywhere that to assign a value to a hidden field on a page that the following id the code to use:

Expand|Select|Wrap|Line Numbers
  1. document.getElementById("HiddenField1").value = SomeValue;
However, it will not work at all for me. My team and I are trying to get over a hump with our project and we can't figure this out. We are using AJAX as well.

Are there any known issues with the code above being used with firefox, ajax or both?

thank you
Nov 10 '07 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
The only problem would be if the ID was not "HiddenField1".

Check your hidden field that it has a matching ID.
Nov 10 '07 #2

Expert Mod 5K+
P: 5,390
hi ...

could you post an example that is not working or describe what error you get?

kind regards
Nov 10 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.