[jQuery] Combo with images
at this url http://scbr.com/docs/products/dhtmlxCombo/index.shtml a combo with the image.... my question: it is possible to create a similar combo with the jquery?
[jQuery] $.ajax() only passes the first parameter
I'm using $.ajax() because the results include some javascript which I need evaluated. (BTW, i'm passing it via POST) Using jQuery.post() works fine, but jQuery.ajax passes only the first parameter regardless of how you pass the data in. For example: var data = [{name: "id", value: cd_id}, {name: "pronunciation_id", value: pronunciation_id }]; and var data = 'id=' + cd_id + '&pronunciation_id=' + pronunciation_id; Only result in id=15 (the value of 'cd_id') being passed as a post variable. Pronunciation_id
[jQuery] JQuery Expand/Collapse Troubleshooting
Hi All, I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anyone had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the NG CMS that doesn't support web standards just yet for troubleshooting.), I have a JQuery script (found here - http://tinyurl.com/354fk2) that is controlling the visual display of elements within a <div id="article"></div>.
[jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery
Hi all, First post, first plugin! http://www.2meter3.de/jqPuzzle/ jqPuzzle lets you easily turn regular images into sliding puzzles. The puzzles are highly customizable (number of rows/cols, hole position, initial appearance, controls, animation speeds) and can be styled individually. See http://www.2meter3.de/jqPuzzle/demos.html for some demos. All you have to do: - Simply add a class name to your image to get a default puzzle, or - Use a css micro format for basic customization, or - Use the jqPuzzle()-method
[jQuery] Permission denied to set property XULElement.selectedIndex
Hello, whenever I try to display an alert box with some debugging information in my keyup function, I have the following errir in Firebug : [Exception... "'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://localhost.lu.fortis.bank:9080/OwebInteractiveTools-PL-Web/InitPersonalTransaction.do :: anonymous :: line 115" data: no] [Break on this error]
[jQuery] Newbie question: Create a horizontal slide effect to switch between two divs
I have two divs, both with their own id. If necessary, I can wrap them in a container element. I would like to achieve an effect as on http://www.hugeinc.com/casestudies/ but am not quite sure how to start. Should I hide the later div first? or position it absolutely outside the container div with overflow:none? Can anyone give me a quick push in the direction that I should start looking.... Thanks
[jQuery] How to apply tabs to content loaded by ajax
Hi All, I am loading an .html file using ajax and then trying to do: $ ('#tabholder > ul').tabs(); to apply tabbing but am unable to do it. I am loading content is the div like: <div id="showcontent"></div> and my .html file looks somewhat like: <div id="citytabs" class="flora"> <ul> <li><a href="tabcontent.htm" title="Tab one"><span>One</span></a></li> <li><a href="tabcontent2.htm" title="Tab two"><span>Two</span></a></li> <li><a href="ahah_3.html"><span>Three</span></a></li> </ul> ............
[jQuery] slideToggle "flickers" on slideDown in FF but not IE
The flicker or flash of white I am struggling to find a solytion for is only happening when slideToggle slides down, the initial slideDown slideUp do not flicker. Flicker occurs in FF, but not in IE. $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').slideDown(1000); setTimeout(function() { $('#slidebar').slideUp(3000); }, 5000); $('#slidebar').html($('#hidebar').html()); $('#slidebartrigger').click(function(){$ ('#slidebar').slideToggle("slow"); }); }; });
[jQuery] json-to-tree?
Hi All, Anyone know of a tree plugin that can populate from a json source (with minimal fuss)? How about a breadcrumbing plugin that can read from a json source? I basically have a bunch of nested categories in json and am exploring various navigation options, focusing mainly on plugins that won't require much reconstruction of the json data, ideally able to read from a json source (locally or remotely, doesn't matter...I can fetch the remote as needed). I looked at some Ext 2.0 tree demo's that
[jQuery] Selection
Hi. I want to apply a function to all links, but not these in a div with id #xy. There could be nested elements in #xy with links in it. How can I modify $('a').MyFunction() to do this? Thanks and regards, Katja
[jQuery] How about add js language enhancement to jQuery in next version
I found the enhancement of prototype and motool is very helpful to coding. Anyone agree with me? Thanks! Jiming
[jQuery] Dynamic attributes selectors
Hi, I have this small issue that I cannot solve. I look for an element checking the attribute href: $('a[href='#last_name']').text('ciao'); And It's fine but if I try to use a variable the selector fail: var forAttr = '#last_name'; $('a[href=forAttr]').text('ciao'); forAttr is exactly #last_name Some help??? Thanks Andrea
[jQuery] Determining the length of an object/array in IE
I know this should be simple, I know this should work, but it isn't and doesn't. so if you take a look-see at http://www.roberthenrylowe.com/lab/jQuery/codeconverter.html in Firefox, you'll see what I am trying to accomplish and in fact, it works there. Basically I take a <code> block and make it a fancy formatted <ol>, except in IE, the jQuery code found at http://www.roberthenrylowe.com/lab/jQuery/codeconverter.js fails silently around line 20 and don't understand why. Can anyone help out? Thanks!
[jQuery] How to iterate and manipulate an object
Is this the only way to iterate through an object? for ( x in myObject) { } and how can you remove an field in an object? For example: var obj = { x1: 1123, x2: 212, x3: 123131 }; I want to remove obj.x2 the obj object to end up with: { x1: 1123, x3: 123131} Thanks -- HLS
[jQuery] Layout support in jQuery UI
Hi, I have gone through the widget and components available in jQ ui, however there are no ready made layout components as such which can be used. I don't wish to use third party plugins such as ext, scriptaculous etc for that. Is there something I am missing or layouts are not natively part of the jQ UI? ~Shishir
[jQuery] newbie: question
hi, To use AJAX in my website, I select the "a" field. I'll would like to know if it is possible to select only the link who have not an onclick method. Thanks,
[jQuery] slow livequery after loading 900 rows of table
im loading simple table into my DOM tree, i have about 900 rows and 7 cols, it shouldnt be that bad. now i used liveguery to bind events to 6 objects for each row. I understand that livequery is going through the whole 900x6 elements and binds events but then it should be all fine. I dont understand why clicking on some element is taking so long, at least 5 second, I have no idea if it is the problem with livequery or with jQ or JS is just that slow. I am not really happy with making tests how jQ
[jQuery] Undefined selector returning the document
I am having a problem with jQuery (2.1.1). I have a set of variables defined and depending on circumstances some may be undefined. A simple stupid example: var element_id; var the_element = jQuery(element); the_element.click(function () { alert('Hello World'); }); The result of this is that any click anywhere produces the "Hello World" alert box. The expected behavior was that no click event would be bound since element_id was undefined and so no matching element could be found. Not binding document.click.
[jQuery] event.pageX/Y in IE
I am not sure how I missed this early in my plugin development, but I see it now. For my new hover plugin, I noticed jQuery was extending the event structure with extra mouse information such as: event.pageY and event.pageX and that this extended event is passed to my show and hide handlers. Well, to make a story short, after working out my plugin logic for screen and viewport dimensions, compensating for scrolls, etc, testing it under IE, I see that the event pass to me show handler does not have
[jQuery] timing of animations
Hi list I am trying to make nice effects on hovering tabs. I have a working animations, but it break when the menu is hovered too fast, and fire the follow error if firebug : "this.parentNode has no properties --> this.parentNode.removeChild( this );" I guess there is some "collision" occuring, things being animate whilst being removes by an event fired by another tab or so. I would like to know if it is possible to control the execution of the animation step after step. $('#producttabs ul li a').hover(function(){
[jQuery] Best practice for form serialize?
I have a web page with two forms on it. It originally used Prototype and I would like to convert it to jQuery. The main form has text, checkboxes, radio buttons, etc. I want to watch the form and if any form element changes I want to serialize the entire form and post it to a URL, receive the result and show it in a DIV. Basically I will be using this form to return a "live" search result total so that the user can see how many results will be returned with certain search form choices. I have viewed
[jQuery] Urgent requirement for all type jobs apply now
<p class="style14" align="center">Urgent requirement for all type jobs apply now <p align="center"><span class="style10"><font color="#ff0000" size="6"><strong>Pls sends your CV in </strong></font><a href="http://www.allindiajobbank.com/" target="_blank"><strong><font size="6">www.allindiajobbank.com </font></strong></a><strong><font color="#ff0000" size="6"> website. It is fast and gives U positive response. Pls pass this message to Ur friend also because vacancies are waiting.</font></strong></span>
[jQuery] newbee: select field and go to link in value
I have a select field. It has values that are links. These links are dynamically generated. As soon as the value is selected, user should go to the page. Is there a way to do this in jquery? select field: <select name="option" > <option value ='http://www.site.com/help/'>Help</option> <option value ='http://www.site.com/contact/'>Contact</ option> </select>
[jQuery] Superfish Dropdown: Menu falls behind tabs
Hi, I am using the superfish dropdown menu (amazing plugin btw!) and I am having a problem on the pages that I am using UITabs aswell. In IE 6 & 7 the menu falls behind the tabs. In FF no problem. Any ideas how to fix? I tried the bgiframe plugin but it did not cure it. TIA for any help -- View this message in context: http://www.nabble.com/Superfish-Dropdown%3A-Menu-falls-behind-tabs-tf4614194s27240.html#a13177050 Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Show(1500) flicking on Firefox 1.0 and 2.0
Hi All, I am trying to fade in a table on a page when a page loads $(document).ready(function(){ $('#mainTable').hide().show(1500); }); This works exactly as expected in IE, but for some reason in Firefox there are 2 issues. First of all instead of actually fading in, it flies in form the right (which is kind of ok, since it's better then nothing, but I wanted it to fade in). Problem 2, after it's in position it briefly flickers off and on and then finally stays. Any ideas? -Roman
[jQuery] jqModal validation
I'm using jqModal to display a form that gets populated through AJAX. I need to add validation so when "Submit" is clicked I need to make AJAX call to the server and then if validation error is detected instead of dismissing the dialog (which I do now) I need to display warning and leave jqModal dialog in place. I suspect that I can do it with a callback but can someone just hint me how it can be done. Thanks -- View this message in context: http://www.nabble.com/jqModal-validation-tf4614196s27240.html#a13177054
[jQuery] Running jQuery ajax repeatedly when building new forms
Right now I have a form that adds and removes forms. These forms are updated inside a div. So for example, I delete one form, a PHP file runs, deletes that form, then rebuilds the other forms inside the div. What's wrong is that the jQuery seems to only want to run the first time, and when I try using the forms inside the newly updated div, it ignores the javascript. When the div rebuilds I tried adding the jQuery code again inside the div to hopefully run again with the forms, but that doesn't work.
[jQuery] Targeting specific attributes not working
I am trying to target all input fields which have a maxlength attribute specified. However, the latest jQuery seems to not be filtering properly and ends up ignoring the filter. So if one has: <input type="text" /> <input type="text" maxlength="10" /> And executes: $("input[@maxlength]").addClass("test"); I keep getting: <input type="text" class="test" /> <input type="text" maxlength="10" class="test"/> Instead of: <input type="text" /> <input type="text" maxlength="10" class="test"/> Am I doing
[jQuery] Release: jQuery treeview plugin 1.3
Good news everyone! The treeview plugin version 1.3 is out, giving you an even better tool at hand to display and navigate your trees. Plugin page(s): http://jquery.com/plugins/project/treeview & http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ Demos: http://jquery.bassistance.de/treeview/ - Fixes for all outstanding bugs - Added persistence features - location based: click on a link in the treeview and reopen that link after the page loaded - cookie based: save the state of the tree
[jQuery] Access "parent page" from ajax generated html
If I have a main page and a section of it generated by Ajax, how do I access an element in the main page from the section generated by Ajax? Or, in code speak: (how can I make something like this work) <html> <img id="removeMeAfterAjax" src="images/fredington.jpg" /> <div id="AjaxHolder"> <!-- BEGIN retrieved via Ajax --> <a onClick="$('#removeMeAfterAjax').remove();">Remove Fredington</a> <!-- END retrieved via Ajax --> </div> </html>
[jQuery] superfish: how do I turn off animations
Silly Question: How do I call superfish so that it doesn't animate anything? I tried passing it an empty object {}, but that didn't work. Thanks!
[jQuery] Set input value in html()
I hope I explain this well! I want to pass a form to a server script (to be saved and reloaded later, but that's besides the point) with all the changes reflected in passed data. I have the following: <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(function() { $("#save").click(function() { $("#input").attr("value", "Hella Cool!"); $("#input").attr("align", "bottom"); alert($("form").clone().html()); });
[jQuery] My slide effect has a brief "flicker" in IE but not FF
My hidebar div which does have an image in it has a flicker right at the completion of any slideUp in IE but not FFF $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').slideDown("normal"); setTimeout(function() { $('#slidebar').slideUp(3000); }, 5000); $('#slidebar').html($('#hidebar').html()); $('#slidebartrigger').click(function(){$ ('#slidebar').slideToggle(); }); }; }); hidebar div <div id="hidebar" style="display:none;"><img src="somepic.jpg"
[jQuery] Star rating plugin for 1.2?
I've been scouring the internet looking for a star rating plugin for the latest version of jQuery, but have been unsuccessful. I really like these, but they appear to be incompatible with any recent versions. <span> <a href="http://sandbox.wilstuckey.com/jquery-ratings/">http://sandbox.wilstuckey.com/jquery-ratings/</a></span> <span><a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">http://php.scripts.psu.edu/rja171/widgets/rating.php </a> </span> I attempted to update the <a href="http://wilstucky.com">wilstucky.com</a>
[jQuery] Table show/hide rows slow in IE
Hi, I have a table with 500 rows (7 tds each, and with lots of classes). They are all part of html document. The menu has 10 categories, and clicking on the category is supposed to show only those rows where row's className==menu's categoryName. Now, whether I do that by changing the display property of each row: 'none'-->'table-row' || 'block', or by setting the table's class name to the category name and adding the line: table .className tr.className { display: ...; } to the style sheet,
[jQuery] JQuery Cycle Plugin
Ran across this while digging through jQuery plugins... http://malsup.com/jquery/cycle/begin.html I just wanted to take a moment to say that is some excellent documentation! I wish more plugins were documented like this (tutorial format)! Oh hey.. and the plugin is quite nice too :).
[jQuery] how to disable events on a iframe?
Hey, Do you know a jQuery solution to disable events on an iframe? Basically, I want to display an iframe, but disallow all interactions (click on links, forms, etc) on it. The blockUI plugin seems to not work in this case... Any ideas? thanks, rodrigo moraes
[jQuery] when Javascript is disabled...
Hi, I found JQuery very easy to use and start to add it to my page, however, it does not work when browser's javascript is disabled, how can we detect if a user turns it off so that we can take care of that in another non script way? Thanks. A.C.
[jQuery] interface error in IE6
Hi, I'm using jquery with interface plugin for cropping images. In IE6 i'm getting an error 80020101. Enyone knows what does it mean?? -- Serdecznie pozdrawiam Adam Ludwiński adam@ludwinski.net http://ludwinski.net
[jQuery] z-index and IE issue (not the select problem, or the z-index stacking context)
I ran into both the select-in-IE6 issue and z-index stacking issue (described very well here: http://www.aplus.co.yu/lab/z-pos/index.php). But now I'm running into another issue with IE that it won't seem to apply the z-index when it's done inside of a hover function. This isn't a problem in FF, but is an issue in both IE6 and IE7. I'm still working for a simple repro, but I was wondering if anyone else has run into this? Here's the offending code: v.parents(".vtiproot").css({"z-index":"101"}); I
Next Page