English 中文(简体)
jquery not working online ( but it work offline)
原标题:jquery not working online (but it works offline)
  • 时间:2011-05-07 11:41:52
  •  标签:
  • jquery

我有一份简单的在线表格,附有一份载有国家名单的JSON文件。 该网页载有一个选定的清单,并按条块进行细微的工作,但不是在线。 你可以看到超文本源代码。

http://governapps.com/qualys/index.cfm

j鱼法处于底层。

为什么不这样做?

感谢

David

最佳回答

页: 1 尿素是错误的,或者可以正确使用(烟雾类型、许可等)。

If the url is right, an easy way would be to rename it to iso-3166-countries.en.cfm, and of course change the $.getScript to reflect it to.

Hope this helps

问题回答

It seems like iso-3166-countries.en.json is not being served correctly in IIS (maybe .json MIME is not defined in your IIS) or the relative path to it is not correct; Because it just throws error 404 (resource not exists error).





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签