The One Truth
New member
Does this work for you and why does it not work for me.
// the following is the stuff that works for me
<asp:TextBox id="Fake" ReadOnly="true"></asp:TextBox>
***** javascript ******
$("input[id*='Fake']".datepicker(); // uses jquery datepicker and I have the latest.
How come I can't use $("#Fake").datepicker()? Does anybody have any idea why this may be?
Yes,
$("input[id*='Fake']").datepicker();
That is correct. I typed it out wrong when I asked the question, but why is that statement working and
$('#Fake').datepicker() not working.
// the following is the stuff that works for me
<asp:TextBox id="Fake" ReadOnly="true"></asp:TextBox>
***** javascript ******
$("input[id*='Fake']".datepicker(); // uses jquery datepicker and I have the latest.
How come I can't use $("#Fake").datepicker()? Does anybody have any idea why this may be?
Yes,
$("input[id*='Fake']").datepicker();
That is correct. I typed it out wrong when I asked the question, but why is that statement working and
$('#Fake').datepicker() not working.