[jQuery] autocomplete
I'm using the autocomplete with a plain ajax call. My problem is that the autocomplete doesn't work unless after I key in a letter, I must click out of the input box, click back into it then the autocomplete works. I assume b/c on the "onkeyup" it calls the ajax call, but doesn't remeber what value was typed in so the autocomplete doesn't display. Please help: here is the ajax call....which does bring the data back correctly: function parseMessage() { var message = req.responseXML.getElementsByTagName("names")[0];
[jQuery] autocomplete
I'm using the autocomplete with a plain ajax call. My problem is that the autocomplete doesn't work unless after I key in a letter, I must click out of the input box, click back into it then the autocomplete works. I assume b/c on the "onkeyup" it calls the ajax call, but doesn't remeber what value was typed in so the autocomplete doesn't display. Please help: here is the ajax call....which does bring the data back correctly: function parseMessage() { var message = req.responseXML.getElementsByTagName("names")[0];
jqModal - understanding question
Hi, I'm using jqModal to open a other page via ajax (builtin func). But as it seems, this just working with "xyz.html" and not with http://www.google.com". Here no window is shown and I get a error message like "unknown location...". Is there a way to make complete urls also also available for this plugin or is there a reason why it's not working? thx T.C.
[jQuery] cycle plugin: rotation from outside elements
Hi, I am using the cycle plugin for an image gallery with thumbnails as my 'pager' and it's working quite great. However, on the page that opens up my slideshow I have a little 'sample' or 'preview' containing four selected images from the images inside the slideshow. Is there any way to set it up so that when the image in this preview is clicked, the slideshow opens up with the correct image (the one that was just clicked) showing in the content box? Right now, when any of these preview images are
[jQuery] Problem when posting messages...
I don't know why it is taking more time to get my posted message on jQuery-en group messages list...?
[jQuery] Pimped-out Numeric input
Hi all, Anyone seen this sort of numeric input implemented in JQuery? It would be nice quantity input for shopping carts where you expect people to buy high number of smaller items. http://fczbkk.com/js/slide_set/ Script: http://fczbkk.com/js/slide_set/slide_set.js Dependencies: http://fczbkk.com/js/dom/dom.js
[jQuery] date picker date range and overall minDate and maxDate
How can I set an "overall" min and max date having 2 dates fields as date range? That is, not only the fields should restrict each other regarding the selected dates but also BOTH FIELDS respect a min and max date. Any ideas? Thanks
[jQuery] possible bug when parsing xml on IE7?
Hello, First, I use the latest version of JQuery : 1.2.6 I try to get elements from xml returned by an ajax call. It's works fine with FF2 but not with IE7. here is my simple code : $.ajax({ type: "POST", url: "myURL.do", data: "&hidden=getValue, dataType:"text/xml", success: function(xml) { alert($(xml).find("el").size()); }, error: function(error){alert("error");} }); and my xml returned from
[jQuery] How to display Select menu value in DIV?
Hi. I'm new to jQuery and wonder how I can make a DIV automatically updated with the selected value from a select menu? The DIV should be updated onchange. I've tried the .serialize method but it displays a whole phrase (I just want the value). <select id="menu" name="menu"> <option value="1" selected="selected">One</option> <option value="2">Two</option> <option value="3">Three</option> <option value="4">Four</option> <option value="5">Five</option> </select> <div id="result"></div> Thank you a
[jQuery] Circular slider?
Hi all, Does anyone know of a jQuery slider where the track is a circle? I want to provide an interface to select an angle. Thanks, Rob
[jQuery] How to display Select menu value in DIV?
Hi. I'm new to jQuery and wonder how I can make a DIV automatically updated with the selected value from a select menu? The DIV should be updated onchange. I've tried the .serialize method but it displays a whole phrase (I just want the value). <select id="menu" name="menu"> <option value="1" selected="selected">One</option> <option value="2">Two</option> <option value="3">Three</option> <option value="4">Four</option> <option value="5">Five</option> </select> <div id="result"></div> Thank you a
Want to display a waiting screen while query get executed
While the query fetches some information from the database i want to display a waiting screen like" Loading please wait" PLease help me this. I find it for loading a page the code is as <html> <head> <title>Base page for content</title> <script src="jquery.js" type="text/javascript"></script> </head> <body> <div id="contentLoading" class="contentLoading"> <img src="VideoLoading.gif" alt="Loading data, please wait..."> </div> <div id="contentArea"> </div> <script type="text/javascript"> jQuery(function($)
[jQuery] Delaying remaining actions until animation is complete
We have a string of actions which run on a click event, but before they run, we want to animate down the opacity of certain elements to show the user that something is happening and then animated the opacity back to normal to show that the process is finished: $this.animate({opacity: "0.5"}); Action 1 Action 2 Action 3 $this.animate({opacity: "1.5"}); How can we set things so that the actions only begin when the first animation has finished and how can set the last animation to only run when the
[jQuery] Thickbox without 'loading' indicator
Hi, As I have a global loading indicator bound already to the ajaxStart event, I want to switch off Thickbox's own loading indicator. Is this possible? Warm regards juro
[jQuery] XML parsing tagnames with swedish characters
I'm trying to read an XML file from an external host with jQuery ajax functions and parse it but I'm running into problems since the XML- file has tags defined with swedish characters (åäö). What I try to do is use a selector simmilar to: $('basetag:has(TagWithSwedishSigns:contains(Value))', xml_data) With all other tags this selector works but with tags with swedish characters it fails. The XML-file itself is reported as valid XML so I don't think it should fail? Am I doing something wrong or is
[jQuery] jQuery Cycle - Custom scrollHorz
Hi, Was hoping that some you of kind folks would enlighten me as to how to do this with the awesome Cycle plugin. I am using the scrollHorz fx, and want to have the incoming and outgoing slides visible within their container...So it would be like a scrolling gallery. I've played around with some of the cssBefore/cssAfter options, as well as changing overflow hidden to visible on the container...but the incoming slide is always covered up but a previous slide...Any suggestion are appreciated. Thanks!
[jQuery] Can the JQuery file be included in another JavaScript file?
Hi Folks, I have been trying to consolidate a good number of scripts into include to simplify mgt. The trouble is when I include the jquery file it does not recognize the jquery functions. If I include it directly in the html page all works fine. I have even included remote files that I have confirmed are correct urls. Has anyone run into this issue? Thanks in advance
[jQuery] automatically copy the contents of inpubox in another
How can I do to automatically copy the contents of inpubox in another line is written in the first. Gracias Spanish: Como puedo hacer para copiar automaticamente el contenido de inpubox en otro conforme se escribe en el primero.
[jQuery] Can Jquery Send variable value to external php
Is it possible to send a variable value to external php..... how it can be done code: var myvar = document.title; how to send this particular variable to a php script plz help
[jQuery] how remove the attributes added by jquery : jQuery1206707292281
Hello, After several calls to jquery, some attributes are added to my html. For instance, before the jquery calls the html is : <H2>Header 1</H2> after the calls a new attributed is added : <H2 jQuery1206707292281="17">Header 1</H2> I need to remove this attribute in order to compare html codes. I tried to find in the jquery library, a function to remove all this attributes but I didn't find it. I just find the way the attribute is built, with a local variable : var expando = "jQuery" + (new Date()).getTime(),
[jQuery] Jquery.form - retreiving data?
Hey all, I've got a form that calls a cgi on submit. I've got everything working great with the form plugin except this one issue: The cgi constructs a basic html page that displays the unique ID of the item submitted. I'm mocking up a site redesign with Greasemonkey/Jquery so I'm restricted to the current cgi code and when I apply .ajaxForm() the page is never called (at least not visibly to me). Does anyone know if this type of data can be accessed? If anyone can point me in the direction of documentation
[jQuery] getScript Problem
we need some triple javascript files to load with $.getScript in jQuery .. how could I do this .... if all the js files was loaded the A function get activated I need something like this $.getScript("test1.js,test2.js,test3.js,function(){ alert("Some thing Activate") }); but there isn't capability a thing in jQuery
[jQuery] Effects/fadeTo question
Hello I have modified the jQuery 'Effects/fadeTo' effect so that hovering over a link makes it fade. See example at: http://www.btinternet.com/~chris.edwardz/jquery/index.htm I am quite new to this technology, however my question is to find out whether it is possible for the link state to return to normal on mouse out / not hovering over the link/s? That is enquring that the fading does not remain as is currently the case. Would a callback create the desired effect? Thanks in advance C
Get index of <a> by its attribute
Hi, i have this html : <div id="menu"> <a href="#0">Menu 1</a> <a href="#3">Menu 2</a> <a href="#8">Menu 3</a> <a href="#2">Menu 4</a> <a href="#5">Menu 5</a> </div> I want to find the index of '<a href="#8">Menu 3</a>' ( 2 ) My logic is : var sid = 8; var obj = jQuery("#menu a[@href^='"+sid+"'"); // i get [Object] var index = jQuery("#menu a").index(obj); // i get -1 Please let me know what is wrong here. [quote][/quote]
[jQuery] Events priority
Hey guys, I'm rather new at this but I've got a problem with setting priorities to events that has kept me up all night. The issue is quite simple: - An image is clicked - A floating box appears with the image preview and a "Change Image" button - If you click the "Change Image" button, it'll toggle a carousel with more images (inside the box) - If the whole box looses focus, it'll be removed. Now, I couldn't get the box to have focus when it appears, so, I bind the focus event to the "Change Image"
I'd like to do slideshow?
I'd like to do slideshow with jquery like this http://interface.eyecon.ro/demos/ifx.html Main idea is to do disappearing image and appearing simultaneously. I have't enaugh experienced (not for a while yet) to do it self. Please explain or give a hint of how can i do this.
Toggling/sliding a div. Is this possible?
Hi all! Here's my question: I have a div that is automatically populated with images through Wordpress. I'd like to set it up so that only the first four images are shown, with the remaining part of the div hidden until toggled open (with a slide effect). I can do the slide effect on a separate div but I believe they all have to be in one container so that won't work. My question is can I apply a slide effect to only a percentage of a div?
[jQuery] hiding a div on document ready?
hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $("durl").css("display","none"); is this wrong? thanks <html> <head> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("durl").style.display="none"; }); </script> </head> <body> <div id="durl" > <label for="curl">URL</label>
[jQuery] newbie: Using JQuery to populate dropdown using ajax and xml
Hi, I have a simple html select control that I wish to repopulate with xml file using jquery. I can do it with native javascript but don’t know how to do it with jquery. Scenario: I have a dropdown on a page containing a list of colors. I have a button on the page that, when you click the button it uses ajax to go to the server and get an xml file of different colors and repopulate the dropdown with the new colors from the xml file we just pulled from the server. As I said, I can do this with regular
[jQuery] ajax load()
I have a "quote" div that should return a random quote via ajax when it is clicked on. Some time ago I asked why I wasn't getting a new quote and how to force a new quote. The response was to add { nocache:Math.random() } to the load call. That has been working fine but now I'm trying to implement the same thing on another site and it no longer returns a new quote. The only difference is that the new site has the quotes stored in a mysql table instead of a flat file. Refreshing the page *does* get
[jQuery] Reflesh page after change DOM
dear one, I'm from China,i have a question about jQuery. When i add some elements to page,example add some li to ul,the new li don't have event that initiatory li had. I means that how to reflesh the page let all li has same event when dom changed? sorry,My poor English skills! Chinese: 当DOM结构改变以后,新加入的元素怎么才能获得原来同类元素的事件? 比如页面开始时每个LI有DRAG&DROP事件,当异步AJAX添加一个LI时,怎么让这个添加的LI也有DRAG&DROP事件?
[jQuery] Can jQuery compare 2 <ul> and remove <li>'s that are duplicates?
Can jQuery compare 2 <ul> and remove <li>'s that are duplicates? Essentially I use jQuery to populate an unordered list with new values, and I have an existing unordered list already on the screen. I'd like to remove any elements in the newly loaded list that already exist in the current list. I hope this makes sense, and thanks in advance. Cheers, jfaulky
[jQuery] string to JSON and back
Is there a clever way to do JSON encoding and decoding in jQuery without AJAX and without a form? Does all the serialization in jQuery imply transmission via AJAX? All I want is object -> string and string -> object.
[jQuery] Cluetips Protips Jtips
I really like the quality of the tooltip pop-ups found here http://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] Autocomplete Search
Can someone pleas help me, i'm trying to add the search as on ( http://docs.jquery.com/Plugins/Autocomplete#Search_Page_Replacement ) to the demo ( http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/ ) but nothing i try works please help me if you guys can get one to work i'll be grateful. Thanks in advance
[jQuery] each() how to change the element text ?
Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text inside <a class='pop'> like this [code]<a class="pop" style="padding: 0pt 0.2em; background-color: white; color: red;" href="/url/b695236dbc5a6b551e49de8a718a89df">saved by 651 other people</a> [/code] but I don't know how to modify text "saved by ... other people". I wanto add a new style for example if it saved by less than
[jQuery] jQuery Effects (show, hide, slideUp, slideDown...) glitch with padding or margin
Hey Guys, I'm sure this has been asked a million times but I couldn't seem to find an answer after searching. Here is the situation CSS: #mydiv{ padding:15px; margin-bottom:10px; text-align:center; } HTML: <div id="mydiv">Hello World</div> Javascript: $(document).ready(function(){ $("#mydiv").hide(); $("#mydiv").slideDown("slow"); }); Now if you run this code, you'll see that mydiv starts sliding down, and then there is a problem or jump or glitch in the end - if you remove the padding and the margin
[jQuery] Tablesorter Default Sorting
I got tablesorter to work but now I want to change some defaults. I have 24 columns of data. I would like all of my columns to default to DESC except one. What is the easiest way to do this? I would also like the columns to revert back to the default (usually DESC) when another column is clicked. Can this be done? I am not using any of the css classes. -- View this message in context: http://www.nabble.com/Tablesorter-Default-Sorting-tp17714578s27240p17714578.html Sent from the jQuery General Discussion
[jQuery] InnerFade Height Problem
In my Innerfade Plugin I have the Height problem it couldn't find the Height Automaically ... we should set the height manually if we don't it could not use it.... another Question is how Could we Import the Core.effect in UI 1.5 to the innerFade Plugin .... I did it and it couldn't recognize it
[jQuery] Accordion Problem
I have Problem this Accordion ... te Pack or Min version of Accordion Doesn't work with 1.2.6 if some one has the right Min or Pack Code ,please send me the Link...
Next Page