• consumir servicio SAOP con JQuery

    Hola soy nuevo en esto del JQuery estoy intentando consumir un servicio SOAP con JQuery de esta manera:   var soapMessage=’<?xml version=”1.0″ encoding=”UTF-8″?><soap:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”><soap:Body><hello xmlns=”http://webservices.renda.datys.cu/”><txt>Hunter</txt></hello></soap:Body></soap:Envelope>&#8217;; $.ajax({ url: “../../soap”, type: “POST”,
  • 3 vertical divs

    what i am trying to do is 3 vertical divs with categories, grid of images (pagination i will do next step) and messages i try following way, but grid and accordion are screwed up. request wisemen to advise, i am kinda stuck here ____________________________________________________ <html>      <head>     <script type='text/javascript' src='http://code.jquery.com/jquery-latest.js'></script>     <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>     <style>       #mainContainer {  
  • jQuery 1.9 - Plugin Updates

    Whilst I think the code housekeeping introduced with jQuery 1.9 and 2.0 is a good idea and probably long overdue, it has raised an issue with our developments concerning jQuery plugins. The problem isn't concerning immediate plugin compatibility with jQuery 1.9 (though that would be nice), it is more to do with active/ongoing development of any particular plugin. Our projects, probably like many others, use a small collection of plugins which, over the years, we have come to use without much thought
  • Datepicker won't close in Google Chrome

    Hi. I'm using the latest jQuery UI, which I downloaded last week. The datepicker works great in IE 9 and Firefox 18.  But it won't close in Google Chrome 24, either when a date is picked, or when the done button is clicked. There are four input textboxes that use the datepicker.  The jQuery code I'm using:      $(function() {         $( "#fromCheck" ).datepicker({             maxDate: "+0",             changeMonth: true,             numberOfMonths: 1,             // showButtonPanel: true,       
  • Dynamically Adding Rows to Reflow Table

    I've started using the 1.3 JQM beta today and I'm having trouble adding rows to a reflow table and getting them to format correctly. The table starts with a header and a few rows and then I pull some more rows in and add them with JQuery. This looks fine as long as the screen is large enough not to reflow the table into the vertical mode. If the table goes into vertical mode, all the rows that I have added are not given labels like the ones that began. for(transaction in transactions) { $("#reflow-basic
  • upper noob question; implement <button id> into jQ

    by default the button id is executed, but i need it to have it executed once it is clicked so what i am thinking is to change the button code from <button id="fade">Fade Toggle</button>   into: <button>Fade Toggle</button> and than something added to jQ code, but i dont know how to... so something like this:   $("button").click(function(){   //button id here           $("#fade"); //.live('click', function()   });anyone? cheerz!
  • Clock on my site not working correctly in Firefox

    Here's my site url: http://www.officialwatches.com/ The clock in the header works well in Chrome and IE but goes crazy in Firefox. If need be I can post the JavaScript. Thanks in advance to anyone who might be able to help.
  • Fill form elements based on dropdown

    Hi,   I'm pretty new to PHP, and I had to realize that even PHP is not enough for my desires... So as browsed many forums, I suppose I need some Javascript to reach my goal. I have a form, which contains a dropdown and let's say one text input field: <form name="anything" method="post"> <select name="dropdown">       <option value=1>First</option>       <option value=2>Second</option> </select> <input name="city" type="text"> </form> My goal is to run a query each time the user changes the value
  • Tabs Widget: I can't reload ajax tab content on IE

    The webpage (.aspx) shown below should refresh the contents of the second tab every time it is accessed, reloading anothercontent.aspx page on that tab . This works well in all browsers except IE (9 & 10 tested). Why? Thanks! <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <script src="jscripts/jquery/jquery-1.9.0.js" type="text/javascript"></script>     <script src="jscripts/jquery/jquery-ui-1.10.0.custom.min.js" type="text/javascript"></script>     <link
  • List view questions

    I am trying out my first list view, and firs off scrolling is odd on my touch screen device. For example not every time I swipe does it move. Sometimes its like it gets stuck and doesn't register the swipe and instead just lights up the one entry.  Secondly as you can see in the screen shot, my activity list goes right up to both the right and left edges and looks a bit ugly. 
  • Continous forms with a while loop with Jquery

    Hi All: I would like to use a while loop to list records that need updated with their own form. I would like to treat each record individually and have one submit button at the bottom, so all changes on all records would be updated. When I write a while loop and have it create multiple forms too for each record.  I set the default value of each input field to the current value of each record. When I hit the submit button for each generated record and use jquery .onclick event.  It only ***updates
  • setting size of grid yo 25%/75%

    I want to use the grid to layout a page content. I wish to have the first block to 25% and second block to 75%. I do not wish to use tables if can avoid it. Is CsSS allowed to modify it or will thwJQM over-ride? Anyone have a solution? 
  • changePage() returns to previous page

    Hi, I use jQuery.mobile.changePage('#pageErrorDialog');to change to a dialog. My problem is that the page is loaded (I can see it for a few seconds), but then the previous page is reloaded and the dialog disappears. Does anyone know a solution for my problem? Thanks!
  • Tooltip 1.10.0 with HTML?

    Hello. In 1.9.x I have use it like: title="&lt;img src=&quot;image.jpg&quot;&gt;" in 1.10.0 this is not working anymore. What is now the right way to show HTML inside of a tooltip? EDIT: Is this the best way for display HTML?: http://jsfiddle.net/NzWTW/
  • How to post a file in an Ajax call to controller

    Hi I have a Main.cshtml which renders another partial view as below. <div>@{Html.RenderPartial("FileUploadPopUp", Model.model1);}</div> In the FileUploadPopup.cshtml file as below I need to upload an Excel file. <form><input type="file"><input type="button" value="Save" id="btnSave"></form> In the Main.cshtml, I need to make an Ajax call to post the file as below. $("#btnSave").click(function () {  //Here need to make Ajax call to post the Excel file,      //Could you please give me code how can
  • Jcrop problem, please help

    I came across this image crop script which is great and looks like it does exactly what I want it to do, but I'm having a lot of problems getting it to work. I've searched for a solution and although other people are having the same problem nobody seems to have a solution so I'd be grateful for any help please. I can select the area I want to 'crop' but when I click the Crop Image button I just get black thumbnail. I've checked I've got the most up-to-date version of jquery as well as the jcrop script.
  • Better way to position hidden menu?

    Hi. I've written a small plugin for a popup menu. The menu html gets sent with the original page load, when my plugin is called it's positioned relative to the trigger via the JQuery position arguments (my, at, of) and hidden until the trigger is clicked. Now, the trigger element may be replaced via an AJAX call and it's position may change. So I have bound the trigger with 'on()' and the menu positioned in the click handler instead of at setup, no problems. However since JQuery UI position doesn't
  • How to get api.xml of current doc ?

    I'd like to download api.xml file of current api doc. How to ? I cannot find the url where to download from
  • Autocomplete multiple values remote, strictly select/enter from suggested value

    Hi, I am using Autocomplete, with multiple values, remote. It's working fine for me, but now I want to add one change in it. The change is: I want to add condition that, user must select/enter value from suggested values in autocomplete. e.g. Suppose my autocomplete suggesting following values on typing letter A :       A003       A004       A005 Now user must select value from these suggested things, and if he enters wrong input (like A321 in above case), then, I would like to prompt user for correct
  • Problems with animate() in on eventhandler

    Hey jQ community, I've got a little problem with an animate() function. myItem.animate({top:'-=' + oldTop, left:'-=' + oldLeft}, 3000, function(){   alert("afterAnimate");  });This code is part of an on (click) function. But after clicking the animation starts after 3 seconds and don't run 3 seconds but 5 and the afterAnimate alert appears after 3 seconds with the start of the animation. Why? Whats wrong? (I use jQuery 1.8.3 not 1.9.0) Thanks, Pete
  • rotate text with jquery

    i add rotate functionality to one of my application but it is not working right i want to add it only to active div onclick of other div rotate fuction get removed here is the code: $("#rotate").click(function () { // Your original element var ele = $("li.active"); // Create handle dynamically $('<div></div>').appendTo(ele).attr('id','handle').css({ 'position': 'absolute', 'bottom': 0, 'right': 0, 'height': 10, 'width': 10, 'background-color': 'red' }); ele.css('position', 'relative'); $('#handle').draggable({
  • Retrieving partial Ajax response during long requests?

    I've been tasked to create some web interfaces for perl scripts that we run. One issue that I can't seem to work out is how to show data from my perl script in real time. For example, I have one script that will perform the following actions on 20 remote PC's... - Log into an SSH session - Backup the current device configuration (5 seconds to 15 minutes) - Display specific values of several interfaces (30 seconds per interface) - Exit the SSH session While this script is executing, I want to display
  • Lights off on mouseenter

    Hi there I´m trying to turn off the lights when someone enter into a <area> tag, and turn it on when it leaves the <area> tag. What i have done It is working, but not properly. YOu can see it at: http://kalearte.com/nuevas/es/vg/alava/visita-guiada-llanada-alavesa.html I have done this:   I have put a div, which id="oculta" at the end of the document, that is going to be show when your mouse is over the <area id="uno" /> tag <area shape="poly"  id="uno" coords="90,0,140,93,144,133,75,176,0,54,90,0"
  • Jquery back button behaviour

    I've created a website for a high-end audio company. On the products page I use some jquery sliders. Now, when you've clicked some buttons on the products page, and then you use the browsers' back button it goes back to all the states (expanded, collapsed) of that page. What I really want is to go back to the previous page (e.g. index.php). Is there a way to force the backbutton to point a particular url? Even a fixed url (index.php) would do (if the history(-1) is impossible). Thank you all. Please
  • Client side checking for data before submission to server

    Hi I have a cshtml where in I load partial view as follows.   @{Html.RenderPartial("SavePopUp", Model.SavePopUp);}   The partial view is loaded as popup which is as below.. <input id="myId" type="text" name="myId"> <input id="SaveId" type="submit" class="button" value="Save Id" onclick="return Func1(); />   function Func1() {         var Value1 = document.frmUpload.myId.value;         var Value1 = self.document.getElementById("myId").value;         var Value1 = this.document.getElementById("myId").value;
  • bringing in a (XML data) URL into jquery

    Hello I am somewhat new to jQuery ( and loving it!) but I need to get data from a URL I have the xml locally and it works.. I get the data displayed in html - but really needs to happen for me is to bring in the data with a URL like this one: http://184.173.18.228/api/profile/1000/0/A … ( no extension on it like ".xml" $.ajax({   url: "adam.xml", $.ajax({   url: "http://184.173.18.228/api/profile/1000/0/A", it doesnt work of course - hoe can I get a URL in there? thanks Rob
  • Click event getting double results

    Hi All, I'm trying to write a simple function to replace the deprecated toggle function, but I'm getting two console responses for each click.      on 1st click:  odd number of clicks odd number of clicks     on 2nd click: even number of clicks even number of clicks   etc... I thought using mouseup would fix it, but it still continues to happen.  What do I need to change? var myclicks = true; $('#myclicktest').mouseup(function() {     if (myclicks) {       console.log('odd number of clicks');    
  • Changing XML DOM with JQuery not working

    Hi,  This is my first post in this forum, and I hope someone can answer me.  I'm trying to edit (change attributes) an XML DOM I downloaded from server, with JQuery, but I was unable to do so. I could do it just using (pure) Javascript. So, this doesn't work: $(xmlDOM).find('Table [name="'+tabela+'"]').each(function(){       $(this).attr("confirmation","true"); }); console.log(XMLToString(xmlDOM)); When I check the console, the attribute confirmation is with it old value (false). This is working
  • editing accordion css

    Is it possible to edit the css of jQuery UI accordion to change bg colours etc? I have selected the Mint Choc theme but would like to match more closely the colour palette in the site I am building in DW. Can't edit css in DW and since the jquery-ui.css files are remote this seems impossible or am I missing something...?  Am new to this forum so please be kind 
  • jQuery cycle plugins

    I am using the jQuery cycle plugin and when I use the pager option, I get navigation control (square boxes with numbers as a caption). How can I control these controls to:  1. change the numbers for custom strings 2. change the size of the squares according to the string 3. change the position of the controls Thanks for any help
  • Redirecionar ara determinada página após término do evento

    Olá pessoal, eu tnho um botão submit que envia um formulário, então eu gostaria de perguntar: quando a página terminar de enviar o formulário, automaticamente ela ser redirecionada para um determinado link. Abraços.
  • select-choice in a listview split button

    Hi, is it possible to use the split button (of a listview) item to open a custom menu instead of a link ? Something like: <li data-icon="false"><a href="test.html">     <div>Item 1 text</div>     </a>     <a for="select-choice-a" data-rel="dialog" data-transition="slideup">         <select name="select-choice-a" id="select-choice-a" data-native-menu="false">             <option value="standard">Standard: 7 day</option>             <option value="rush">Rush: 3 days</option>             <option value="express">Express:
  • what can i use instead of event.handle after upgrading to jquery 1.9?

    as event.handle is removed in new release 1.9,what method can replace it
  • Using tablesorter jquery plugin on table with jquery ypagination

    This is the table sorter i desire to implement, if that's possible. This is my scenario http://t0ze.dynip.sapo.pt/static/ With the following code <?php require_once("includes/connection.php"); ?>    <?php require_once("includes/functions.php"); ?> <?php include_once("includes/form_functions.php");?> <?php include_once("includes/html.php");?> <?php include_once("includes/pagination.php");?> <?php echo @get_country();//members array to be used to populate table ?>   <script type="text/javascript">
  • I need your Guidance/Assistance. JavaScript and Graphics.

    Hey folks, Well, I'm working on project, where I want to have similar features as google maps has. At first, I'm trying to get "surface", "window", "wievbox", "container" or whatever you call it, where i could create objects as squares or circles with some text inside. Afterwards, when i'm having enough of circles/squares I have to expend that plot, so I need navigation function for X and Y axis. Hopefully, you understood my idea. I'm asking if there is anyone who is working on something similar,
  • How to toggle div on click and hide any other "toggle-visible" divs

    I have a site where when you click a div, a hidden div is shown. The problem is, if you don't re-click the original div, the "hidden" div will remain visible even if you click div2 which reveals a hidden div2. Basically, you have all of the hidden divs overlapping and visible at once. I need one "hidden" div visible at a time.  http://www.lindseysoftware.com/SoftwarePortal/index.html Thank you for any help.
  • jquery validate creditcard issue with prepopulated values

    Hey guys, so just curious, setting creditcard: true seems to work just fine. However, if the user has billing info saved, we load up the existing credit card with xxxx-xxxx-xxxx-1111 which unfortunately won't validate. does anyone have a way around this issue?
  • Convert OR map the string value to the id of existing form element.

    Hi All,   I have a string value fetching from the query string.This string value is the id of one of the form elements. So, In clientside using JQuery I want to convert this string value to id of form element and then set the CSS style to it.     Thanks & Regards, Gopi Krishna T
  • jquery menu problem.

    I have written code for menu using jquery but it is not working .the code is- $(function(){ $('a#home').click(function(b){         b.preventDefault();     $.cookie('class','home');     }); $('a#write').click(function(c){        c.preventDefault();     $.cookie('class','write'); }); $('a#comments').click(function(d){        d.preventDefault();     $.cookie('class','comments');        }); $('a#medias').click(function(e){        e.preventDefault();     $.cookie('class','medias');        }); $('a#users').click(function(f){
  • unbind a fuction not working

    i create a function in which onclick of button div append on active <li> but on click of other <li> the appended div should remove from active <li> $("#rotate").click(function () { // Your original element var ele = $("li.active"); // Create div dynamically $('<div></div>').appendTo(ele).attr('class','handle').css({     'position': 'absolute',     'bottom': 0,     'right': 0,     'height': 10,     'width': 10,     'background-color': 'red' });     }); Thanks in advance
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of