Variable in hidden field?

Post your HTML code (as attachments) here and a description of what that scene does.
User avatar
gstone
Expert
Expert
Posts: 582
Joined: Fri Apr 23, 2004 9:42 am
Contact:

Variable in hidden field?

Postby gstone » Wed Jan 03, 2007 11:25 am

I am trying to place a variable as the value of a hidden field.

Code: Select all

<input id="mcelights_1_status" type="hidden" value="{{mcelights_1_status}}" />


I have also added it to the update variables:

Code: Select all

http.open("GET", "GETVAR?" + escape("mcelights_1_id~mcelights_1_status"), true);


but I keep getting a java error of unknown runtime error. If I place that variable in a span then I no longer get the error. Is there an issue with using variable in hidden fields?
Always ask! You can't stay dumb forever!

Return to “MLServer HTML Sharing”

Who is online

Users browsing this forum: No registered users and 1 guest