false;
});
... how to select the newly inserted option in #refSelectBox using the
text attribute and set it to the selected option?
Any alternate suggestions are most welcome!
Thanks,
Nando
);
}
}
);
$('#dialog').dialog('close');
return false;
});
... how to select the newly inserted option in #refSelectBox using the
text attribute and set it to the selected option?
Any alternate suggestions are most welcome!
Thanks,
Nando
]
+''+result.DATA.AUTHOR[i]+' ('+result.DATA.REFYEAR[i]+')option'
}
$(refSelectBox).bind('focus', function(event, ui) {
$(#refSelectBox).html(str)
}
});
});
select id=refSelectBox/select
Thanks in advance for any help.
Nando
...@gmail.com wrote:
Can you give an example of the JSON to help?
On Apr 14, 9:24 am, Nando d.na...@gmail.com wrote:
Hi,
I'm a jQuery and Javascript noob, and can't seem to get this to work.
The JSON output looks right to me via console.log(result), but the
select box isn't being populated
post
you have no property of .ROWCOUNT, so that's a bad start..
this is a quick mock up that works
http://paste.pocoo.org/show/112508/
(sorry about the if's... i never trust that the data is intact/
complete)
On Apr 14, 10:50 am, Nando d.na...@gmail.com wrote:
Sure. Here's the JSON
5 matches
Mail list logo