Click here to Skip to main content
15,886,137 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: child meta tags Pin
Not Active5-Dec-10 4:49
mentorNot Active5-Dec-10 4:49 
AnswerRe: child meta tags Pin
Muhammad Mazhar7-Dec-10 4:24
Muhammad Mazhar7-Dec-10 4:24 
QuestionImpression in database Pin
Jassim Rahma5-Dec-10 3:23
Jassim Rahma5-Dec-10 3:23 
AnswerRe: Impression in database Pin
Hiren solanki5-Dec-10 19:37
Hiren solanki5-Dec-10 19:37 
GeneralRe: Impression in database Pin
Jassim Rahma8-Dec-10 4:10
Jassim Rahma8-Dec-10 4:10 
Questionproblem in CollapsiblePanelExtender Pin
Jassim Rahma5-Dec-10 3:21
Jassim Rahma5-Dec-10 3:21 
AnswerRe: problem in CollapsiblePanelExtender Pin
Not Active5-Dec-10 4:50
mentorNot Active5-Dec-10 4:50 
Questionbuild search engine Pin
Jassim Rahma5-Dec-10 3:07
Jassim Rahma5-Dec-10 3:07 
AnswerRe: build search engine Pin
Brij5-Dec-10 3:25
mentorBrij5-Dec-10 3:25 
QuestionRSS FEED Pin
sheemap4-Dec-10 14:26
sheemap4-Dec-10 14:26 
AnswerRe: RSS FEED Pin
Not Active4-Dec-10 14:57
mentorNot Active4-Dec-10 14:57 
AnswerRe: RSS FEED Pin
Muhammad Mazhar7-Dec-10 4:28
Muhammad Mazhar7-Dec-10 4:28 
Questionhow to open page2 from page1 by press button1 on my asp.net program ? Pin
Gali19784-Dec-10 7:57
Gali19784-Dec-10 7:57 
AnswerRe: how to open page2 from page1 by press button1 on my asp.net program ? Pin
TweakBird4-Dec-10 9:51
TweakBird4-Dec-10 9:51 
QuestionPartial postback and update panel problem Pin
Tridip Bhattacharjee4-Dec-10 7:30
professionalTridip Bhattacharjee4-Dec-10 7:30 
AnswerRe: Partial postback and update panel problem Pin
Sandeep Mewara4-Dec-10 7:47
mveSandeep Mewara4-Dec-10 7:47 
GeneralRe: Partial postback and update panel problem Pin
Tridip Bhattacharjee5-Dec-10 4:55
professionalTridip Bhattacharjee5-Dec-10 4:55 
GeneralRe: Partial postback and update panel problem Pin
Sandeep Mewara5-Dec-10 4:55
mveSandeep Mewara5-Dec-10 4:55 
QuestionConfusion regarding c# property Pin
Tridip Bhattacharjee3-Dec-10 23:00
professionalTridip Bhattacharjee3-Dec-10 23:00 
AnswerRe: Confusion regarding c# property Pin
Keith Barrow3-Dec-10 23:55
professionalKeith Barrow3-Dec-10 23:55 
GeneralRe: Confusion regarding c# property Pin
Tridip Bhattacharjee4-Dec-10 4:34
professionalTridip Bhattacharjee4-Dec-10 4:34 
GeneralRe: Confusion regarding c# property Pin
Keith Barrow4-Dec-10 5:26
professionalKeith Barrow4-Dec-10 5:26 
QuestionJQuery unable to find controls on a page [modified] Pin
AndyASPVB3-Dec-10 22:13
AndyASPVB3-Dec-10 22:13 
Hi
I have a JQuery date mask, but when I run the page it throws an error "Microsoft JScript runtime error: Object doesn't support this property or method".

Now, the control that this particular JQuery is meant to be working is added dynamically to a repeater control. Through this, I have looked at the ids of the control, where it was breaking and stopping in Visual Studio and what is being shown on the aspx page. The ids are identical except of the "#" that JQuery has at the start, which is not on the page.

In my JQuery code I have:

JQuery(function ($) {

$('#<%=date.ClientID %>').mask("99/99/9999");

});



Is there away to tell JQuery not to include the "#" when finding the control? I have used UniqueID but this changes any underscore into "$", which is not the same as what is on the page. My only problem is with "#" sign at the start of the ID. I have even added an alert box to check that textbox was there and it came back as null. I have tried even adding a CssClass attribute to the textbox, but this through the same error, too.

Please note that the custom user control that has the textbox is added programatically to the repeater.



Can anyone help?



Thanks

modified on Saturday, December 4, 2010 4:21 AM

AnswerRe: JQuery unable to find controls on a page Pin
Not Active4-Dec-10 2:06
mentorNot Active4-Dec-10 2:06 
GeneralRe: JQuery unable to find controls on a page Pin
AndyASPVB4-Dec-10 3:13
AndyASPVB4-Dec-10 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.