[jQuery] [autocomplete] Comma sign makes imperfect...
Hey, guys. I'm been pulling my hair for quite a while. Basically, I have serious issues with Jörn's autocompleter and it's all my fault I think, but I really can't point out what's causing the error. The expected functionality is like this ----------------------------------------------- 1. User enters textbox #media_ 2. The textbox's text is selected 3. User begins selecting from the list, let's say "Cinderella". 4. "Cinderella" gets selected in the text box and a thumbnail is shown in a div below
[jQuery] live() not working in IE8?
I have a drop down that is being generated via load() - to be 100% clear, I'll restate that. The drop down does not exist on the actual page. I'm doing this: $('#orderlineform #productlisting').load('orderProxy.cfm', { mode:'getAvailableProducts' ,ordergrade_id:ordergrade_id ,order_id:order_id } ); This is generating the drop down for me and putting it inside the #produclisting span for me. Now, just attaching a 'change' event on it wasn't
Preloading content
Is there any way to preload content using .load? I want to load in external info, then use .slideToggle to show the div, but I need .slideToggle to wait until the content has downloaded before firing, is this possible? Cheers!
[jQuery] Checking if a form element is disabled or not
I need to check if a form element is disabled or not, however, when I run the code: if($('#field').attr('disabled', true)) { ... } All it does is disabled the form. How can I just check if it is disabled without doing so? Thanks.
MY Hover, hoverintent work in IE8 and chrome, but no ff3 ie7
I have just started using jquery and worked through a couple of examples from sitepoint and internet.com. I then added one to my site and it seemed to run fine while running on my machine, but only works in IE8 and chrome in production. The IE flaw is becuase IE8 was used in debugging and switches to compatiblity mode in trusted zones. Script is <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="js/jquery.hoverIntent.minified.js" type="text/javascript"></script> <script
[jQuery] Jquery loop problem
Hello, I'm very new to jquery. Can somebody help me with some information. I'm printing an a series of forms with php in the form of grid data. Each row would contain a form. Now if anybody clicks on any of the submit form of any row, I need a popup that would come with that form data. Each form per row would be called as form1, form2,form3 and sooon. Ill need data of any form in the popup of ajax. Can somebody help me with this. I've tried the following, I gave a dummy class for each form called
[jQuery] cluetip missing the hover "?"
I have a table and am trying to make one of my td elements have a cluetip. I get the tooltip, but the cursor doesn't change to a question mark when I hover over the text. My td looks like this: <td class="tooltip" title="ur_1,ur_2,ur_3,ur_4"> ur_1,ur_2,...</td> My ready function contains this: <script type="text/javascript"> $().ready(function() { $('.tooltip').cluetip({cursor: 'help'}); }); I do get the "?" when I copy the examples from the demo, IE, something like this: <a class="load-local" href="#loadme"
[jQuery] Append asterisk to required field labels
Hi, I am looking to use jQuery in conjunction with xVal for validation. One of the cool things I though jQuery would allow me to do is append an asterisk (*) to the label of "ALL" my fields that have a css class of "required". The example below only applies the asterisk to the first field. How can I get all of the fields from my page that have a class="required", find the label (previous element) for each, and append some text (an asterisk) to the label for that field? Example ======================
[jQuery] jQuery Cycle Slideshow makes site crash in IE7
Please look at http://www.idea-palette.com http://www.idea-palette.com I have multiple pages that are being faded in using the top nav. When the user clicks on any of the above buttons to fade in another page that contains the Slideshow using the jQuery Cycle Plugin, IE7 crashes. When I comment out the jQuery that controls the fades of the slideshow, IE7 does not crash anymore. You can see that here: http://www.idea-palette.com/IEindex.php http://www.idea-palette.com/IEindex.php I'm guessing IE7
[jQuery] Get selected column value ...
Hi all, I am currently using var rego = $('.trSelected td:nth-child(3) div').text(); to get the 3 column value of the row that was selected. My problem is, when I drag the column to a new position, the value is no longer in column 3. How can I get around this issue? Thanks in advance for your help.
[jQuery] [autocomplete] Regular Expression
Hello, Is there anyway to implement a regular expression feature. It does not need to be full regxp butat leat soemthing like star *ek will match Creek Thanks
[jQuery] jQuery v1.3 incompatible with jQuery backgroundPosition plugin
Hi, I've been using this plugin: http://dev.jquery.com/browser/trunk/plugins/backgroundPosition/jquery.backgroundPosition.js?rev=6073 Using it together with jQuery 1.2.6 and works nicely. I can animate the backgroundPosition of my backgroundImages. This plugin doesn't work together with jQuery 1.3. I'll get an Invalid Argument error. Besides, jQuery 1.3 still doesn't animate backgroundPosition natively. Has there been an update to this plugin, to make it jQuery compatible? Thanks.
[jQuery] Select Text
The link of this exercise is below http://www.livrojquery.com.br/cap_10/arquivo-10.5c.html I'm having problems selecting items Seg. e Dom. Do not select. Dom. use because it contains the function case sensitive. Seg. e Dom. is different from. Dom. What is another selection to select the texts?
[jQuery] Wrap text between two divs
Is there way to create element that consists html between two another elements? for exmple: from this <div> Some st <div id="1">ra</div> nge foobarded <div id="2"><div> text goes here </div> to: <div> Some st <div id="1">ra</div> <div id="3">nge foobarded</div> <div id="2"><div> text goes here </div> or: <div> Some st <div id="3">ra nge foobarded <div> text goes here </div>
[jQuery] strange behaviour with .post
Hi all, Im sure I'm off somewhere with syntax but I get strange behavior with this script. sometimes it does the .post sometimes it doesnt. On top of that it doesnt return the alert if the post is successful or not. Is it better to use .ajax? function Validate() { if($('#title').val() == ""){ alert("You must enter a title for the event."); return false; }else{ CopytoCal(); } } /* function to copy an entry to another calendar */ function CopytoCal() { var cnm = 'Theatre Calendar'; var purl = 'http://10.1.3.20/theatrcalendar/webCal3_updated.asp';
[jQuery] Ignore first item in XML
I am grabbing some XML from our server, then writing that out with <li> tags in the browser, all using the jquery .ajax() function. By design, our server wraps items with a parent of the same name, like: <test> <test id="1">test 1</test> <test id="2">test 2</test> </test> Because my function checks for each test tag, it finds the first parent, but returns undefined, since it does not have any attributes. Is it possible to ignore this first result, and start with the second item, which will correctly
[jQuery] How do I access global variables for id's, etc.?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] Using JQuery to modify Javascript object properties.
I want to add a property (not a class name or id) to all the tables in a web page. I know I can use $("table") to get all the tables on the page - can I also do this: $("table").each({newProp1:true, newProp2: 7}); so that now table.newProp1 == true and table.newProp2 == 7 ???
[jQuery] I have a problem with animation slideToggle()!!
Good evening. I will let you know what I going to see if someone told me a clue, I have a table with data, click on the any column, sends me to another page where I selected the information shown, then right there I have a button showing another div shows that when clicked give you a form within the animation slideToggle (), then save the data that form the function of the ajax jQuery, the problem is the want to show the div, no longer displays the form. I do not have the errors corrected with the
[jQuery] .ajax() calls will not always work
Hi, I am really new to jQuery and javascript, too. So my question might be stupid but I couldn't find an answer to my problem in documentation. I have created a simple web page to display random photograph from my Flickr gallery. So there is php file that does the job via flickr API and returns a link to an image. Here is the script that does it: http://www.bolotnov.info/flickr/getimg.php and so there is this HTML/JS code that I have put together for this, please see below. So the problem is that
[jQuery] HOWTO - hover card effect
Hi all, this effect seems to have no common name, let's call it "hover card". You may see how it works on this website - www.cn.ru/films - if you hold a mouse over any cover art for 1-2 seconds (sorry it's Russian, just can't find English examples). Does jQuery have any plugin similar to that ? Thanks, Jury.
[jQuery] jCarousel Page count display
Hi, I was wondering if anyone has done jCarousel page count plugin. I mean along with jCarousel display a <div> showing 'Showing 3 of 10 page' something like this. Thanks for your help. AM This email message is a private communication. The information transmitted, including attachments, is intended only for the person or entity to which it is addressed and may contain confidential, privileged, and/or proprietary material. Any review, duplication, retransmission, distribution, or other use of, or
[jQuery] jQyery + netbeans visual jsp
Hi! I am new to jQuery and trying to use it with netbeans. Netbeans visual jsf build html elements on the fly, so if I put a input box with id="form1:nome" in the page, the code on the browser will be: <span id="_form1:nome"> <script type="text/ javascript">webui.suntheme4_2.widget.common._createWidget ('_form1:nome',{ "valid": true, "visible": true, "autoValidate": false, "autoComplete": false, "label": { "level": 2, "value": "Nome:" }, "size": 20, "id": "form1:nome", "readOnly": false, "style":
[jQuery] Trying to get Jquery Slideshow to function
Hello, I am trying to implement the jqeury slideshow (http://malsup.com/ jquery/cycle/) to function on my site. it seems so simple, but for some reason the previous and next buttons are not working. Here is my URL: http://sarahmadeit.com/slideshow/demo/ This is just a test to see if I can get it working before I start building the actual site. I would very much appreciate any suggestions on where I'm going wrong. Thanks! Chloe
[jQuery] Jquery ui tabs "select a tab from a text link instead of clicking a tab itself"
Hello, I am using still the old version of ui (not the 1.7) I saw here http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself the posibility to navigate between tabs by using a link and not the tabs. I implemented the code in my site but wanted to make it more dynamic: $('#verder').click(function() { // bind click event to link var $tabs = $('#tabs').tabs(); var selected = $tabs.data('selected.tabs'); //console.log(selected);
[jQuery] 1.3 API browser -- can't link to pages?
I don't see any convenient manner in which to link to a page of the new API browser; am I missing something? Thanks in advance.
[jQuery] Bug in globalEval function
Hi All I've used jQuery a lot over the years, mostly in the joomla CMS context. I think I've found a bug in this function: // Evalulates a script in a global context globalEval: function( data ) { The problem is that if there is a newline inside of a string literal (single quoted) in `data`, then the script fails with an "unterminated string literal" error. The first thing done to `data` in this function is this (jQuery 1.2.6): data = jQuery.trim( data ); But, this trim function only
[jQuery] [treeview] nodes in firefox 3 won't collapse
some basic info: jQuery: 1.3.2 Plugin: Jörn Zaefferer's Treeview plugin (1.4.1) coding with asp.net c# We are building out the HTML for the treeview in the codebehind, and then adding it to the innerHTML of a UL already on the page. This has not given us any issues in IE. The treeview renders perfectly, there are no issues with expanding and collapsing nodes. However, in Firefox 3, nodes will expand, but not collapse. I did some digging, and noticed the height of the UL was 0px. So I set the height
Processing an AJAX request
Hi, I'm having troubles parsing an XML-File I load via JQuery. I tried a lot, but I'm not gonna post everything I try here, that would be to much. Let's start with my simplest version, why does this not work, and how would it work? My XML Document: <?xml version="1.0" ?> <header name="test">test</header> My code inside the .ready-function: $.post("agb_data.php", "", function(data){ data.find("header").each(function() { $("#agb_text").html($(this).text()); }) } ); It
[jQuery] How to do can promise my event will be executed first when i add a event listenser?
as title, thanks.
[jQuery] newbie question
I've tried loading jquery.js into a site several times several different ways and can't even get an alert to pop up. I can get a test page to work only if I use an src address to google's jquery. Can't I just upload the jquery-1.3.2.min.js file or is there some configuring I have to do? What problem should I look for on my web account? .......Ron
[jQuery] jQuery and Scriptaculous
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(0, 0, 0);"><div>Good evening, Well, I am coming to you since I do not know where to find
[jQuery] Checkbox selector not working
Hi Guys I am new to jQuery... I am trying to get all the checkboxes checked in the form $("INPUT[@name^=ddCommercialTypes_Check][type='checkbox'] [checked='true']").each(function() { checkedBoxes1 += "," + $(this)[0].value; }); Here I am getting all the checkboxes checked in that form, instead of checkboxes with the names starting with "ddCommercialTypes_Check". Please let me know what I am doing wrong in that selector statement... Thanks Chandra
[jQuery] [Breadcrumb] Doing it in JQuery? Source Provided!
I wrote a snippet of code that works for the most part. I'm really trying to shave it down and expand its functionality though and am having a hard as hell time doing it. This chunk of code should [b]Theoretically[/b] allow a bread crumb trail using href as the crumb. [code] function PathWatch(path_change_cb, interval) { // Store initial path this.path = document.location.href; // Store the function to call when the path changes this.path_change_cb = path_change_cb; // Default interval is 400 miliseconds
[jQuery] Double queries using $.load
It seems that either I'm doing something horribly wrong or something because everytime I do an Ajax call using $.load() it causes a double query on the page. example: $("div#example a").click(function(){ $.ajax_uri = this.href; $("div#sidebar").fade_in(300,function(){ return $("div#sidebar").load(String($.ajax_uri)+" div#sidebar ul:first",function(){ return $("div#sidebar").fade_out(300); }); }); return false; }); results in: GET URL/URI 200 OK 39ms jquery.js (line 19) GET URL/URI 200 OK 28ms jquery.js
[jQuery] jcarousel thumbnail navigation
Hello Im trying to build a gallery like this one on http://goal.com I tried to use two jcarousels. One is a image slide show with auto scroll, the the other is a simple carousel holds the image slider's thumbnails I got them working separately, but cannot figure out how to do the thumbnail navigation. This is part of the code from the example "jcarousel with external control" jQuery('#thumbnail a').bind('click', function() { carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text())); return false;
[jQuery] listnav plugin
I'm having trouble installing this. Not quite sure why it isn't working. Does anyone have a tutorial online on how to implement this or could look over mine and see what i'm doing wrong? I imagine it's something simple. thanks! Kristy lee http://www.klcreativedesign.com/suasion/glossary
[SOLVED] getJSON won't execute callback function
When I use this script with the $.get method it works exactly as expected, but as soon as I change it to $.getJSON the callback fails. I'm using it to send a query to a PHP page. Callback failures seem to indicate a problem with the JSON structure, but I've used json_encode() in the PHP script to create it, and I've also tried writing simple JSON objects for testing. I've removed all spaces from the JSON, fooled with the quotes around the name/value pairs. Nothing works. The callback never gets called.
[jQuery] [Superfish] CSS Questions
I am putting a Superfish menu on my site and I'm having a couple CSS issues. First is, can I create separate rollover states for the top level menu items and the list level menu items? Right now I can only figure out how to change the global rollover class, "sfHover". Second is, my dropdown lists have a width applied to them, but when they animate downward in IE they don't originally snap to that width, so after it is fully open it will "hiccup" and then expand to the full size. I have a link to
[jQuery] [autocomplete] custom fields for remote URLs
Hi, i'm using the autocomplete plugin here (http://docs.jquery.com/ Plugins/Autocomplete) and want to be able to use it with a remote URL, while at the same time having access to have text displayed one way, and selected another way (ie display a piece of text, but then change what is entered into the input box once it's selected) with local data you can do this: var data = [ {text:'Link A', url:'/page1'}, {text:'Link B', url: '/ page2'} ]; formatItem: function(item) { return item.text; } but how
Next Page