MapGuide Ajax viewer custom search filter
this: featid = "$USER_VARIABLE" Does not return any matches. What filter should one use to search in a .shp attribute table? ...
this: featid = "$USER_VARIABLE" Does not return any matches. What filter should one use to search in a .shp attribute table? ...
this is my code: comenzar = function(){ document.getElementById('gene').onclick = xmlhttpPost("generador.php"); } xmlhttpPost = function(strURL){ xmlHttpReq = false; self = this; self.xmlHttpReq = new XMLHttpRequest(); self.xmlHttpReq.open('POST', strURL, true); self.xmlHttpReq.setRequestHeader('Content-Type', 'applicati...
Hi, I am developing a plugin and have a quick question...I first developed my plugin as an individual 'webpage' and am now integrating (wrapping) it into a WP plugin. It all functioned correctly before WP and almost functions correctly now but I have run into an interesting issue. Anyways, to my question...is there some sort of issue in ...
Hi guys, i hope you can help me with this one. The code is supposed to display mysql data using a php script returning XML (the backend script works fine delivering good XML - checked with my previous question on Stack Overflow). I'm using jQuery 1.4.2 to do a .get AJAX call - and i just can't get Internet Explorer to display even a bi...
Hi! I would like to extend my onclick parameter of button_to_remote with another javascript function call, but i couldn't find any answer for that. So i have sg like this: button_to_remote('>', :url => {:action => "show_dtree", :id => tree_child.id, :dir1 => dir11, :dir2 => dir12} what generates the following code: <input onclick="n...
Im using arte for jquery to call a page via ajax every 10 seconds. It calls to one of my php pages, that php page queries the database and spits back html code. In that html code are some jquery calls. The problem is those calls dont work unless I include the jquery script in the php file being called. But that causes issue with jquery c...
Hello I'm adding some ajax features to a site and I have very strange problem. On webkit browsers the ajax request aren't working. I have no idea where is the problem. I noticed that if I leave only one ajax request the Safari(windows) is doing it right, but that its not what is happening to the Safari(Mac) and Chrome(windows). The javas...
Hi Guys, This should be relatively simple for the MVC experts out there, but i'm still learning the ropes. I have a View which is not strongly-typed, simply ViewPage<dynamic>. On this View, i have a single textbox, which is extended using jQuery's AutoComplete When the user types something into the textbox, the AutoComplete does an AJ...
i am loading some fragments with jquery with following code var box = $(this).closest(".product-contain").children(".title:first"); box.load(url + " .maintitle", data); var box = $(this).closest(".product-contain").children(".detail:first"); box.load(url + " .alldetail", data); (i don't want to load whole .product-contain at once, bec...
I find myself doing this a lot: window.onload = function(){ $.get("http://example.com/example.html", function(data) { $('#contentHere').html(data); setTimeout("javaScriptClass.init()", 200); }); } But setTimeout seems a bit hacky (and 200ms is already over three times the attention span of the average user :). ...
I have this script <div id="div2"> <div class="bar1"></div> <div class="bar2"></div> <div class="bar3"></div> <div class="bar4"></div> <div class="bar5"></div> <div class="bar6"></div> </div> <script> function rotate() { var count = 0; var elem = document.getElementById('div2'); elem.style.MozTransform = 'scale(...
I hope both the object invocations are referring to the ActiveXObject. But why are we passing two different parameters to work in IE. 1. Msxml2.XMLHTTP and 2. Microsoft.XMLHTTP Are they both same ? Or Are they browser dependent(IE7 and IE8) ? I used both. I did not get any exception. Both are looking same for me. I am using IE 8. ...
I am using nyroModal to display a lightbox when an image in thumbnail gallery is clicked on. The thumbnail gallery is created from AJAX which sets each thumbnail to link to a javascript function passing 3 URLs. One for the large version or the image, one for the next image in the gallery and one for the previous image. This is the jav...
Hi, I have a page that has a form using this ajaxForm jQuery plugin. The form submits, and when it's complete, there is a call using $.get() to load some new content to the page. My problem is, the Googlebot "appears" to be indexing the url in the $.get() method. My first question is, is that even possible? I was under the impression...
I have a page with several different forms on which people can insert their zipcode and housenumber. After an onblur on these input field I make an ajax call to get the streetname and city from the server based on the zipcode and housenumber. function getAddress(postcode, streetnum, form, tr) { $.ajax({ type: "GET", ...
I once thought screen reader for user with impaired eyesight can not read web page dynamically created by javascript, since I am educated to create web page that works even javascript is disabled. Recently, I'm told that screen reader can actually read web content dynamically created in AJAX web application. So, since screen reader c...
Hi. There are a lot of questions already made here about what to do when session expires when doing a Ajax request. One of the workaround is place a header in the response that makes a redirection to the login page. My site only does the first page postback, then it's all ajax request, that makes that the session expires in the determi...
how to make synchronous Ajax call using dojo.event.connect. Basically for asynchronous Ajax call, if two call is there means it will load parallel. So i want make a call synchronous if the call is executed fully then after only second call should invoke. please help me ...
I've been developing a Rails application and I've decided to implement a mixture of Test Driven Development and Behavioral Driven Development. However the application I am building uses a web application user interface framework known as MochaUI which is built on top of the Mootools framework. I have just finished writing a portion of...
Hi, I have a client and a server written in CGI(c++), as JS model is like to ask something from server, there is no mechanism for server to send async message. So this means the client needs to poll server periodically? I read BOSH protocol, it says to achieve the async for http, a web page can issue several HTTP request, but the server...