Posts Tagged ‘Troubleshooting’

Javascript Troubleshooting: Cannot set the value in the html value with JavaScript

Tuesday, November 25th, 2008

Have you ever experienced a situation like this changing/updating a value of a simple hidden field and it doesn't get passed to the script ?

Everything looks simple because it is simple :)

[code]

 
[/code]

When you focus only on one small portion of the code it makes perfect sense and it works.

There is always a BUT :)

I would like to quote a very good friend of mine Julian Lishev (http://proscriptum.com/) who once said "Everything is/should be so logical and it cannot be any other way. "

I continued to dig deeper and realized that there was another element with the same ID in another form which was breaking my plan.

Take Care,

Slavi