Displaying 1 result from an estimated 1 matches for "input_line1".
Did you mean:
input_line
2005 Sep 15
1
Javascript object literals -- prototype clash?
...be able to click and change any part, it makes
sense to define characteristics of forms and then insert them client-side
when needed. (No need for 40+ hidden forms.)
Anyway, I''m trying to use a javascript object literal definition that looks
something like this:
var forms = {
form1: {
input_line1: {
name: ''stuff1'',
size: ''30'',
type: ''text'',
value: ''Init string for stuff1''
},
input_line2: {
name: ''stuff2'',
size: ''30'',
type: ''text'',
value: ''Init string for stu...