I have an html page that makes an ajax call to a jsp page that has a javascript function. It looks like the JS function is not getting executed.
Sorry I tried to search for an answer but couldn't find any.
Thanks in advance.
...
Hi,
I'm trying to access the API at http://boo-box.com/api/format:json/aff:mercadolivreid/uid:173091/tags:my-query/jsonp:callback. It works fine if I try to wget it, or from my browser. But if I try to do:
function getProducts() {
var query = encodeURIComponent(document.getElementById('query_input').value);
url = 'http://boo-box.c...
Alright so I got my movies page, and under you can post a comment. I would like to add a little link on the side of the comment for the people that liked / found this comment useful. (Eventually it will +1 the number so like "I Like (3)" (3 being the number of people who voted))
Since it's movies, I do not wish to reload the page.
So h...
Hi guys.
I am developing a web system that has 12 text boxes. When you click on this textbox, a jquery datepicker pops up.
Before I post code up, just wandering if there is a simple answer.
Basically, IE will not let me have more than 5 instances of a datepicker. E.g. I have 12 text boxes and when you click them, the date picker comes...
So I've been working recently on a script to obfuscate client-side code for protecting intellectual property without interfering with the appearance of interactivity of the resulting page. The process is as follows:
HTTP request comes in, .htaccess redirects (.*) to parse_request.php
parse_request.php creates a "phpURLParser" class who...
When i create a form like this:
<form method='POST' action='gate.py'>
<input type='file' />
</form>
1) How i cant catch the response from the server, on a script?
2) I can send in a async way a file?
Thanks in advance.
...
var encClinic = new Ext.chart.StackedBarChart({
store: new Ext.data.Store({
reader:encReader,
url:data.jsonUrl,
baseParams:{
cmd:'OHMjson.Graph',
graphName:'ENC',
graphType:'Clinics'
}
}),
yField: 'CLINIC',
xAxis: new Ext.chart.NumericAxis({
stack...
I would like to know how to properly escape my json code. I am using the datatables plugin and this is the json that is failing.
"6\\\\\\\' 5\\\\\\\" Ford HD ",
It originally looks like this (without the opening/closing brackets and the comma):
6\\\' 5\\\" Ford HD
How would I properly escape this?
...
I need to reload a block of javascript every amount of time.. say
<script type="text/javascript">
var frame = some sort of code;
</script>
i need that block of any function to be reloaded every 15 seconds without reloading the page itself .. something like jQuery time out but i don't know how to apply it..
any idea?
...
I am working on an AJAX website where there are two search parameters. I did some mod-rewrite and checking for $_GET variables so that i can do something like..
site.com/var1/var2/ -> automatically do the search based on the parameters.
Now what I want is for people who do the search manually, to be able to have the url in that format....
Hi there,
I am quite confusing in getting page number for pagination links.
See what I am doing:I have a ShowDetails.php page on which I have created page links in for loop. Onclick of every links I am calling ajax function with parameter as URL(GetData.php) and target. When this function is called I get data through GetData.php and pr...
Hi,
I am building a web application and I need to create a feedback form widget so the users can put it in their websites and all the submitted data will be saved in my web application. I also need to have authentication in the widget before the user can submit the information (using my application login form or a facebook account for ex...
please give information about ajax,jquery,and javascript. i want to learn it.so from where i should start. i am working with codeigniter php framework.
...
Hi,
I'm building a few webpages in my webapplication which use a webservice.
While communicating with the webservice, which can take more than a few seconds, I want to display a loading screen. Something like the jquery dialog, where the background is disabled and a loading image appears in the middel of the webpage.
Is this possible ...
Hi Guys,
How can i prevent links on click event before jQuery is loaded?
The reason is i have few links that make AJAX calls through jQuery ajax functions and if user click them before jQuery framework is loaded the browser cant trigger jQuery ajax function and will follow links href="..."
Thanks.
Edit: Can i use this?
<head>
...
<sc...
I have an updatepanel which displays or hides a new control when I click a checkbox. But the problem is that is is very slow. From the click of the checkbox until the visual reaction occurs almost 2 seconds are gone.
I think this is due to the asynchonous callback. The client seem to wait 1-2 between each callback to fire. Is this true?...
I am providing web service which return data as JSON object. The problem is with Ajax, Ajax can't call cross domain url. Is it possible to disable it?
...
A pretty normal case:
We have a 'portlet' composite component that has two states: expanded and collapsed. Portlets start as expanded, but user can collapse them by clicking on them. This state should be saved to the session, so that once the user refreshes the page or navigates to a new, the portlets remember if they are expanded/colla...
In my program there is a aspx page that contains wcf client, that so on calls wcf service located on same server.
I`v get this exception when my wcf client calls wcf service hosted in IIS on production server.
Ex. msg: Thread was being aborted.
Ex stack: at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte*...
Hi,
I am using the jQuery.ajax() with some specific data. One of them is an albumid which is generated on the server side if the user choose not to use one of his albums. The problem is that if a user add several photos to a new album then, instead of adding all photos to the same album, it creates several albums with one photo in each.
...