Sunday 15 August 2010

jquery - Chrome and local JavaScript files -


मेरे पास ऐसा कोड है:

ये फ़ाइलें:

& Lt; link href = "js / jtable / themes / metro / blue / jtable.min.css" rel = "स्टाइलशीट" प्रकार = "टेक्स्ट / सीएसएस" />

< कोड> & lt; script src = "js / jtable / jquery.jtable.min.js" प्रकार = "टेक्स्ट / जावास्क्रिप्ट" & gt; & lt; / script & gt;

100% सही स्थान मैं google-chrome को - allow-file-access और - allow-file-access-from-files पैरामीटर के साथ चलाता हूँ यहां तक ​​कि जब भी मैं अपने index.html स्थान तक पहुँचने का प्रयास करता हूं, तब भी मुझे खाली पृष्ठ मिलता है, जो है: फ़ाइल: ///home/myusername/code/web/index.html

क्या गलत है?

JTable को भी jQueryUI की आवश्यकता है, यह प्रयास करें: < / P>

  & lt; script src = "js / jquery / jquery-2.0.2.min.js" प्रकार = "text / javascript" & gt; & lt; / script & gt; & Lt;! - JqueryUI - & gt; & Lt; script src = "http://code.jquery.com/ui/1.10.3/jquery-ui.js" प्रकार = "टेक्स्ट / जावास्क्रिप्ट" & gt; & lt; / script & gt; & Lt;! - jTable शैलियों में से एक को शामिल करें - & gt; & Lt; link href = "js / jtable / themes / metro / blue / jtable.min.css" rel = "स्टाइलशीट" प्रकार = "टेक्स्ट / सीएसएस" / & gt;   

यह डेमो देखें

No comments:

Post a Comment