Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inputmask for mmTextbox
Message
From
28/07/2010 09:11:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01473906
Message ID:
01474264
Views:
36
>>
>>I have downloaded jsquery.js and put it in the same folder as my aspx pages. Now, where do I put the code:
>>
>>
<script type="text/javascript" src="jquery.js"></script>
>><script type="text/javascript" src="jquery.maskedinput.js"></script>
>>
>>Does this go in the codebehind file (aspx.cs) or the aspx page?
>
>It goes in the ASPX file. It basically tells the page to download the jquery and masked input Javascript files. You will need to make sure those two files exist on your server in the same directory where the ASPX file is (or specify a full URL or relative path to the JS files, ex. src='/jquery.js' or src='http://www.mywebsite.com/js/jquery.js'. It sounds like you've already done that, but I wanted to make it clear.
>
>You normally put this in the "head" tag section of your page, ex.
>
>
><head
><script type="text/javascript" src="jquery.js"></script
><script type="text/javascript" src="jquery.maskedinput.js"</script
></head
>
I would also mention, if you are using Master pages such as you are, you would need to put this in the Master page as there is no head section in the content page. You could also if you wanted - put a content place holder in the head section of the master page that would allow you to put this reference in the content section of the content page. Hope that made sense.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform