Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » jquery function call not working?
jquery function call not working? [message #1261715] Sun, 02 March 2014 23:21
Alan Shiers is currently offline Alan ShiersFriend
Messages: 1
Registered: March 2014
Junior Member
HI Guys,

I was working away on a small JEE project in Eclipse Helios where I designed an HTML page that references the jquery library. In my jquery code I make a call to
JSON.stringify(...). When I run the project and click on an anchor tag that triggers the call to JSON.stringify(), nothing happens. If I reference the same HTML page in any browser, there's no problem. Does Eclipse have an issue with JQuery? Or more specifically, the JSON object?

The code is very simple:

$("#showdjson").click(function(){
var aa = JSON.stringify({ data: data });
alert(aa);
});

Alan
Previous Topic:change text foreground color for specific words
Next Topic:Null Analysis With JSR-305 Annotations In Java 8
Goto Forum:
  


Current Time: Sun Dec 21 12:53:45 GMT 2014

Powered by FUDForum. Page generated in 0.03063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software