View Single Post
Posts: 289 | Thanked: 101 times | Joined on Oct 2009
#1
I am currently doing a program for a site which need me to run a certain javascript. The script do I get from a HTTP 200 response. My problem is that I have never done javascripting so I do not really know how this works, I could guess that you would use the QScriptEngine to process it.

But the bigger problem I have is that when I get the response with the script and runs it, it should try to communicate with the server. This is becuase in the <script type="text/javascript"> there is a function filter which looks like this:

Code:
function filter() {
var query = "userId=11111&daysBack=" + $("#daysBack").val();
$("#chartContainer").load("/statistics/typedistributionchart?" + query);
}
I have been running wireshark to see all the packets thats being transmitted/recieved. But all I see is a ACK and then nothing more. So what I think is that this $("#chartContainer").load() stuff is already on my computer. But if so how do I access this and what datatype is it??

Yours,