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 18:21
Alan Shiers is currently offline Alan Shiers
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: Tue Jul 22 13:34:25 EDT 2014

Powered by FUDForum. Page generated in 0.08842 seconds