Even for AJAX that's not sequential, if I set aysnc:true, it won't work. I'm filling two dropdowns. I call ajax to retrieve the datas from server to then be filled into the dropdowns. the ajax for both calls are exactly the same. In this case, the order of both calls doesn;t really matter since they don't need data from each other. So I must set aysync false; I've tried with true, doesn't work. the dropdowns don't get filled. And I've tried the method above, still not working.
I have sequential AJAX calls where the each call depends on the previous ones (except for the first call). without asych:false, everything breaks down. I'm thinking about something more like document.body.style.cursor, but it didn't work out. Currenly it's only a page with a background image and a simple button (that invokes series of ajax calls). That's why I don't use css (yet).
I'm not using CSS for this particular page. I turned off async because it produced unpredictable result. There's a sequence of code that sometimes works and sometimes produces error when async is true. Is there no other solution? I must use css? thanks
I've been struggling with how to change the cursor when AJAX is executing and change back to normal after it's completed. I'm using async:false in jquery. Thnks
When I tried compiling my codes, I got a warning saying that string in switch is not supported in source 1.5, but I've already installed java 7 and change the variables accordingly. Help please? thanks
Is it possible to do the settings programmatically? It's not always possible for the client to remember this. Or even better, is there anyway that the container compare the requested js and see if the js file has been updated. if it's updated, then resend the js to browser, if not, let the browser load from cache. thanks
I have an external jsfile which only has 2 simple functions:
It all went well, until I edit the function go(). I simply omit that function, restart the apache, but the message "go" still appears. Is the js file cached and somehow not refreshed even after apache restarts? thanks