ajax

Submit Value With Javascript

Hi All, Im a little stuck with the following function. Please note, Im a total noob with javascript/ajax, so please bare with me: <script type="text/javascript"> function removeElement($parentDiv, $childDiv){ if (document.getElementById($childDiv)) { var child = document.getElementById($childDiv); var par...

How to make ajax call from drupal pager

i'm new to drupal and using drupal6.. i have a module which fetches a set of employee details from database based on input fields.The submit button calls a JavaScript function in an emp.js file which generates an ajax call xmlHttpReq.open('GET', "/empfinder.json&dept=" + dept + "&gender=" + gen+ "&age=" + age, true); while i'm tryin...

How can I use the jQuery Autocomplete plugin for linked input fields?

I'm using the jQuery Autocomplete plugin. I have two input fields on a form, inputfield1 and inputfield2. I attached autocomplete to the first field. When the that field loses focus, I want to check if a value was entered and if so, then make an AJAX call to retrieve some "\n"-separated strings and use them to drive autocomplete on the ...

ASP.net Listview and datapager inside ajax update panel

HI, is it possible to have a listview with datapager inside an update panel and do asynchronous postback without full page rendering when i do the paging in data pager. I tried adding both controls inside the update panel, it didnt work Tried registering with ScriptManager1.RegisterAsyncPostBackControl(DataPager1) it didnt work too. ...

Catch only a left clicks on links.

We are using event "click" to catch click on links and load content via ajax. But event happens also on right mouse and wheel clicks. How to process only left? confused // jquery.coyod-engine-0.5.0.js $(document).click(function(e){ var t = $(e.target); if(t.hasClass('aj')) { e.stopPropagation(); e.preventDefault();...

Wicket: how to synchronize requests within session

Scenario: Apache Wicket based web application running on Tomcat server. User opens URL in browser, session is created and simple main page is shown in browser, user clicks on button and AJAX call is invoked. Application gets request and doing some stuff preparing response. In same time user or JavaScript in browser invokes another AJAX...

asp.net Ajax Timer to poll a WCF service

I am using a asp:Timer control to poll a service every 10 seconds. I know the timer is working as if I comment out the service call the time will update the panel perfectly. However when the service call is enabled the timer will update the panel a few times correctly but then it will start to hang. I believe it's due to a bottle neck...

ASP.Net MVC run JavaScript in PartialView when loaded using Ajax.ActionLink

Hi, I've got a question regarding ASP.Net MVC. I'm using an Ajax.ActionLink to load a PartialView. In this partial view is a javascript function I'd like to get called. However I can't figure out how to make this happen. I've tried using AjaxOptions { OnSuccess="functionInPartialView" } when I set the Ajax.ActionLink but for some ...

Save chart image with open flash chart2

I am using Open Flash Chart 2 to create some graphs. I want to be able to save an image of the graph, which OFC2 supplies some methods to accomplish this. I used the example on the OFC2 site to directly display the raw image data on the page, but that does not work in IE6, which most of our users are using (I know, I know). I switched...

Internet Explorer not rendering html returned from JQuery ajax post

I have a page with an input box whose onkeyup fires a JQuery ajax post based on what was typed (a search field) The ajax call's posted back html is supposed to populate another div on the page. Here is the jquery ajax post: var o = $(me.results).empty().addClass("aj3load"); $.ajax({ type: "POST", dataType: "text", url: me.url, ...

Online Image Editor - Ajax or Flex / Flash??

I am working on a plan to build an online image editor with just some basic functions. It should (obviously) contain a canvas working area and support the following functions: 1. Upload an image from your computer or submit a link 2. Resize image (by dragging the corner) 3. Rotate and flip 4. Drag / move / pan 5. Layering (if more then ...

ASP.NET DropDown SelectedIndexChanged not firing in Firefox with UpdatePanel

I have an asp:Updatepanel that contains a dropdown and I run some Javascript on the onchange event of the dropdown. I also fire some server side code on the selectedindexchanged of the dropdown. This works OK in IE, but in Firefox the selectedindexchanged event never gets called. I think this may be something todo with onchange and ...

Recursion limit exceeded

I am using a jQuery Ajax control from this site http://abeautifulsite.net/2008/03/jquery-file-tree/ I have it all working. I tried to ask a support question but never heard back, thinking maybe someone on here can shed some light on the situation. Basically what I am trying to do, is on a file selection run an action that returns a Jso...

send html link variable to jquery ajax php-file

i want to use jquery to retrieve a variable embedded in a html link, spo i can send it to the php file with jquery ajax. but i dont know how to do this. this is what i have written: <script ...> $("a").click(function(){ $.post("helpers/ajaxcall_country.php", {"HERE I WANT TO SEND THE VARIABLE"}, function(data){...

Concurrent XML editing by AJAX.

Does there exist some framework for parallel editing XML-document on a web-page through AJAX? I need a shared whiteboard, where I and other people can draw and see that draw others in real time ("live" mode). Modern browsers support SVG, event-source and other useful things, and if such a framework exists, make such a board should simp...

Contact form using PHP and jQuery form plugin

I'm using the jQuery Form plugin to submit AJAX requests. It's a simple contact from using this PHP script: http://pastie.org/725652 - the only validation happens inside the PHP. Here's my Javascript code to trigger the whole thing: $('#contactform').ajaxForm({ target: '#error', beforeSubmit: function() { $('#error').a...

Sending String Data to MVC Controller using jQuery $.ajax() and $.post()

Hi all, There's got to be something I'm missing. I've tried using $.ajax() and $.post() to send a string to my ASP.NET MVC Controller, and while the Controller is being reached, the string is null when it gets there. So here is the post method I tried: $.post("/Journal/SaveEntry", JSONstring); And here is the ajax method I tried: $....

creating sortable portfolio with jquery

I have created the layout for my new portfolio webpage here: http://vitaminjdesign.com/work.html I want to have a legend with tags (ALL, logo design, marketing, web design, print design) and when these tags are clicked, the page filters the results and display them like they are currently displayed. At first, I want ALL projects displa...

Flash Making AJAX Requests?

I don't really play with web stuff at all, but someone gave me a site template recently and I wanted to start playing with it. I apologize in advance if my terms are misguided. The main top section of the site is a little Flash thing that has buttons as links to different areas of the site. All of that is well and good, but whenever I...

Netbeans Module not being deployed

Original Question Title: C:\Documents and Settings\user\My Documents\NetBeansProjects\ConsultingAgency\nbproject\build-impl.xml:563: The module has not been deployed. hello I am new to javaserver face developing and following some netbean tutorials on this Generating a JavaServer Faces CRUD Application from a Database : http://net...