based on this wouldn't the syntax be alert($('#id\\{0\\}___').val ()); ?
On Jan 23, 5:19 pm, "Mauricio \(Maujor\) Samy Silva" <css.mau...@gmail.com> wrote: > You must escape properly weird characters in ID values. > Have a look > at:http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_... > > Maurício > > -----Mensagem Original----- > De: "gvangass" <gvang...@gmail.com> > Para: "jQuery (English)" <jquery-en@googlegroups.com> > Enviada em: sexta-feira, 23 de janeiro de 2009 19:56 > Assunto: [jQuery] id question > > > > > > > Hi > > > Is there a reason why: alert($('#id\{0}___').val()); > > not displaying the value, also no error with Firebug > > > but > > > alert(document.getElementById("id{0}___").value); > > displays it ? > > > The html looks like this: > > <input id="id{0}___" type="text" onblur="show_value()" value="123" > > maxlength="10" size="10" name="id{0}___" /> > > > show_value() run the alerts above > > > Thanks > > gvg- Hide quoted text - > > - Show quoted text -