Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputmask for mmTextbox
Message
 
À
28/07/2010 17:48:16
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01473906
Message ID:
01474370
Vues:
21
That's what I figured you meant, but sometimes I gotta ask the obvious question :)

If you start typing
<script type='text/javascript' src=
You should get a dropdown showing your possible files. Are your .js files in there?

Eric

>Yes, that's what I meant when I said:
>
>>If I put the "." in front of "/" then VS can't find the files.
>
>I get warnings in VS when I do that:
>
>
Warning	1	Error updating JScript IntelliSense: C:\Development\Mere Mortals .NET Framework 2008\SamaanSystems\IAS.Web\jquery.js: Object doesn't support this property or method @ 33:0	C:\Development\Mere Mortals .NET Framework 2008\SamaanSystems\IAS.Web\IASOuter.Master	1	1	IAS.Web
>Warning	2	File './jquery.js' was not found.	C:\Development\Mere Mortals .NET Framework 2008\SamaanSystems\IAS.Web\IASOuter.Master	13	41	IAS.Web
>Warning	3	File './jquery.maskedinput.js' was not found.	C:\Development\Mere Mortals .NET Framework 2008\SamaanSystems\IAS.Web\IASOuter.Master	14	41	IAS.Web
>
>and running the code doesn't make a difference.
>
>
>>You tried putting the ./ in your code, like this?
>>
>>
>><script type="text/javascript" src="./jquery.js"></script>
>><script type="text/javascript" src="./jquery.maskedinput.js"></script>
>>
>>
>>Eric
>>
>>>My folder setup is like this:
>>>
>>>
SamaanSystems (Which has my .sln file)
>>>|- IAS.Business
>>>|- IAS.Web (here is where my aspx pages are and where I put the jquery.js)
>>>
>>>I do not know which folder is the root of my application here.
>>>
>>>My actual script code is this:
>>>
>>>
    <script type="text/javascript" src="/jquery.js"></script>
>>>    <script type="text/javascript" src="/jquery.maskedinput.js"></script>
>>>    <script type="text/javascript">
>>>    $("document").ready()
>>>    {
>>>        $(".number").mask("999,999,999.99");  // Masks all element with the class='number'
>>>    }
>>>     </script>
>>>
>>>
>>>If I put the "." in front of "/" then VS can't find the files.
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform