[jQuery] how do I code jquery image gallery inside ajax tabs?
They both work on their own, but when I click on the ajax tab that contains the image gallery html, its just a blank page? What do I need to change to get this to work? Thanks, Arianna
[jQuery] jQIR plus Thickbox help?
I'm using the JQIR and replacing a header link with an image. With that link that I've replaced with a header image, to launch a thickbox window. I have no idea why it's not working. If I don't use JQIR and just link a regular image, the thickbox works just fine. Any help?
[jQuery] Image rollover effects in Superfish menu
We have built our site using superfish to handle the main navigation menu. The top level elements are images and for selecting the 'current section" image, we use the codebehind to set the different image states, and a rollover function in the client side to handle the image rollovers. That gives us for example: server-side: home.png (standard menu image) home-current.png (current section) client-side: home_o.png (over state) home-current_o.png (current section / over state) The only drawback I have
[jQuery] Pass form as argument into its submit event
What I'm trying to do should be very simple. I would like to assign a submit handler to a form and pass that form into the handler (I then wish to interrogate the id of the form argument and perform appropriate validation according to which form it is). The following code doesn't achieve the desired result. Inside the canSubmit function, according to firebug, the form argument seems to be of type form#[object HTMLInputElement] and form.id is undefined. // in domready event handler $('form').submit(function()
[jQuery] Does IE simply not work or...
Or is there a common work around? I spent a few days getting familiar with JQuery and it works perfectly in Firefox. I go to test it in IE and literally nothing works. Aside from the basics, I'm using a validator plugin, but I'm getting JS errors at every turn. Vague errors like "object expected" when I'm simply calling a JS function that uses JQuery calls. IE is very frustrating, they should just shoot it and put us out of our misery. ....
[jQuery] blockUI over flash content
Hi, is it possible to execute blockUI over flash content? Right now, default call $.blockUI() makes that overlay surface appera over html entries, but under flash content. I've been testing few "basez" paramteres - no success. Is it possible, that the only one solution t to hide flash content manually before executing $.blockUI() ?
[jQuery] find radio button group value from dynamic form; random group name and id
I have a dynamically generated radio button group. I need to find the value of the button selected, but I don't know the name or id of the radio buttons prior to the form loading. Those elements are dynamically generated. I can attach an onClick event to the table that encloses the option group, but not to the individual options. That's just a constraint I have for this particular form. So my question then, is how to get at the value of the selected item? -- Thanks. My form looks as follows: that
[jQuery] getJSON IE7 problem- caching request/responses?
Hi, I've got an application developed in ASP.NET MVC using jQuery to handle JSON requests and responses. I use the following Javascript code to popup a dialog, send off the request and then move the client back to the page they were on previously: if (confirm("You currently have a project open, do you want to save it first?")) { $.getJSON("/Projects/SaveAndCloseCurrentProject", null, null); window.location = document.referrer; } else { window.location = document.referrer; } This code works absolutely
[jQuery] Basic question document.ready
Hi, I've seen many approaches to document.ready function but I'm just wondering what's the difference between jQuery(function($)... $(document).ready(function () {... and $(function()... are all the same? Thanks
[jQuery] [validate] Translator plugin traverse
HI I would liek to use the translater plugin to do a search and replace in my document. I have sometext like [p]paragraph and [/p] Now I would like to repalce this with an injected html block between real paragraphs. a simpel search and repalce only displays the html as textand i need the html as html What would be the best way to accomplish this
[jQuery] fyneworks star rating - radio button values displayed over stars
Hi, I am having an issue with the radio button values (1 to 5) appearing over the star rating images and I am not sure why? I've looked through the code and examples etc, but cannot see any reason why they would show up on my pages, but not on the demo pages? Example of my code... <input name="star1" type="radio" class="star" value="1" disabled="disabled" /> <input name="star1" type="radio" class="star" value="2" disabled="disabled" /> <input name="star1" type="radio" class="star" value="3" disabled="disabled"
[jQuery] scrolling bar and table
Hi, i would like to know if something exists in jQuery to allow me to do the following thing: i have 2 divs and when 1 is scrolling horizontally, i would like to scroll the other one by the same amount of pixels (as the first one). if not, i guess i must use something from pure javacript. thx.<br clear="all"> -- Alain ----------------------------------------------------------- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008
[jQuery] JQuery Autocomplete strange behaviour
Hi! Kindly visit following link: http://vibersol.com/sitesdemo/shipping/admin/addquotation.php Then add form fields dynamically [by clicking GREEN icon]. And fill these fields. Iam seeing strange problem. When I click in 'MAKE' textbox, JQuery autocomplete works fine and gets values from PHP file. But when I get focus of this field by using 'TAB' on keyboard, JQuery autocomplete doesn't work. What Iam doing wrong in my code ? Thanks in advance
[jQuery] Reporting forum messages using modal message
Hello, I am building a forum and i have a option where members can report bad posts on the forum. The script i am using is: http://www.ericmmartin.com/projects/simplemodal/ Now i also want to add the ID of the messages to a hidden field. I now have the following: <a href="#" class="basic" id="{$foo.reactieid}"><img src="/media/ images/mededeling.gif" alt="Reactie melden" /></a> id = the messages id In the <head> $(document).ready(function () { $('#basicModal input.basic, #basicModal a.basic').click(function
RegExp and Jquery
Hello, I would really appreciate some help/opinions on this: Basically I have 4 select boxes each with a class of "selectFilter". They all have different options except for the first in each has a value of "x" and the text: "Show All". The page then lists member profiles (divs) which have names that list the answers to their profile questions seperated by pipes eg "1:yes|2:Often|3:No|4:advanced|". The numbers reference the select box that the answer applies to. So basically the select boxes are a
[jQuery] how to zebra stripe divs?
Hi I'm just wondering whether it is possible to zebra stripe alternate divs with the same class name? The class name is .postSummary-teaser, I tried this: <script type="text/javascript"> window.onload = function(){ $("div:.postSummary-teaser(odd)").addClass("odd"); }; </script> but no joy. I'm no Javascript programmer but it was easy to stripe alternate rows with a tutorial on the jQuerey site. There seems to be nothing about using divs? The page in question is in development here: http://www.digiflipconcepts.com/digiflip-v3/Rant-and-Rave
delay on ajax post
Hi, I'm desperately trying to finish a form validation script. I built a script to check whether or not a username is picked (the rest of the functions have been removed). This part works perfectly except only one out of every 30 or so submits actually throws the alert. I use Bluehost and I'm not sure if the server is just really slow to respond or my code is written poorly. I'd really love some feedback. Thanks. HTML + JQUERY <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Tablesorter 2 Columns always in Asc order?
Hi there, I'm working with the Tablesorter 2 plugin: http://tablesorter.com/docs/ I've got the plugin working and it seems nice, for the most part. The issue I'm having though is that by default, when a user clicks on a table header the column is being sorted in ascending order, and only goes to descending order the second time a user clicks. I would like to change this order so that the first action when a user clicks a table header is that the column is sorted in descending order. Can anybody please
[jQuery] getting ul html on each and appending to div problem
im trying to look into a div and find each instance of a ul in that div and get all the li elements into a variable then remove the ul's and append the new ul with li from variable. here is what i have so far: Code: //var ulla = ' '; jQuery("ul").each(function() { var ulla = jQuery(this).html(); }); jQuery("#la dl").remove(); jQuery("#la").append("<dl><ul>" + ulla + "</ul></dl>"); the structure is like: <dl> <ul> li li li li </ul> <ul> li li </ul> </dl> im trying to get all of the li elements from
[jQuery] [validate] select box and text field
I'm using the jQuery plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have a select box that needs to make a text input required if a specific value in the select box is selected. <select name="hfrom"> <option value="" selected>Select</option> <option value="Referral">Referral</option> <option value="Media"> Media</option> <option value="Industry Conferences"> Industry Conferences</option> <option value="Other"> Other (please specify)</option> If they choose "OTHER", I need
[jQuery] jquery context menu plugin: issue with find()
Hi there, Please save the life of those few hairs left on my skull. I've been trying to understand why this doesn't work: i'm using the jquery Context Menu (http://abeautifulsite.net/notebook/80 ) to display a context menu which options vary according to each item. So i'm using a "data" custom attribute to store which options should be active and the metadata plugin to retrieve the values. Works fine. Now, i need to disable context menu options according to the fetched data, but there, the functionality
[jQuery] Mohd.Tareq wants to chat
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! ----------------------------------------------------------------------- Mohd.Tareq wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-7e15b9c5c3-50696955fd-d2605d8f169c98bf You'll need to click this link to
[jQuery] Guidelines on Graceful Degradation When JavaScript Disabled?
I'm new to jQuery so I apologize if this is a dumb question. I'd like to take advantage of the visually interesting things jQuery can do. But I'm bumping into a small but significant number of end users who either have JavaScript disabled or are running old browsers with bad JS support. Since I want to provide at least a decent experience for all site visitors, I'm wondering if there are any guidelines, suggestions, or tips on how to build a web page so whatever's being done via jQuery still works
[jQuery] JQuery and POJOs.
Hi All, On my way in evaluating ZerKode framework, Adobe Flex,.. I heard of JQuery from one of my peers. My question is like… 1. How the business logic in POJOs would be connected to the components of JQuery? 2. I mean do we have anything called Model / dataProvider kind of approach to link the POJOs with the JQuery UI components? Any clarifications in this regard would be of great help to me. Thanks a lot in advance! Regards, Nataraj G.
[jQuery] can cluetip be invoked on hover and click?
I have one simple link that I want to show the the cluetip (some local content) on hover, non sticky, but gets sticky if the link is clicked, I can't seem to find a way to do this, it's either hover or sticky??? I was also wondering if the cluetip can be set to close automatically if the cluetip of another link is invoked?
[jQuery] Permission denied to get property HTMLDivElement.parentNode
Hi, I have googled the mentioned exception and found out that it is thrown only on Firefox, which has already been reported as a FF problem. However.. is it preventing the correct execution of my application. Does anyone know of a way to prevent this message to be thrown? Thanks M.
[jQuery] Help! Integrating Superfish into Wordpress theme
I've been trying to integrate a Superfish menu with Wordpress for hours now. I'm having 2 problems: 1) The menu options (like speed and autoArrows) do not work. All I have is a basic drop-down menu. 2) The menu does not work in IE6. I just have a menu without drop- downs. I think this has something to do with # 1 not working. :-( Has anyone successfully integrated Superfish with Wordpress? If so, could you let me know your approach to how it can be done? :-) I'm using the latest .js and .css files
[jQuery] JQuery: Dynamically added fields values are not submitted
Hi! Kindly visit following link: http://vibersol.com/sitesdemo/shipping/admin/addquotation.php Then add form fields dynamically [by clicking GREEN icon]. And fill these fields. After that submit the form. I checked in FireBug that these values of dynamically added fields are not submitted by form. So values of these dynamically added fields are not submitted to next PHP page. What and where Iam doing wrong ? Thanks in advance
put text on top of image called by jquery
I would like to add some text onto the top of an image which is called by a jquery function as a map. At the moment the text is appearing under the map. The script is: $(window).load(function() { function initializeMap(){ $('#searchlocations').hide(); $('#map').fadeOut(500, function(){ $('#map').empty().css({ width: '620px', height: '731px', backgroundImage: 'url(/images/map/map.jpg)', position: 'relative' }); $('#map').fadeIn(); loadBullets('townmap', false); }); } The html is:<div id="searchlocations">
End of form changing according to the page
Hi everybody, I have a problem with a program which must open the good DIV for the corresponding page. I did not know how to be taken there, then I made this: (Devis Script.php) <?php header('Content-Type: application/x-javascript'); $(document).ready( function () { $(".form_devis_specifique").hide(); if(empty($_REQUEST["p"])) { $(".form_devis_specifique .form_Gedep").slideUp("normal", function(){ $(this).parent().removeClass("open")}); } else { switch($_REQUEST["p"])
function don't work on new elements
Hi, this only works with existing elements, if i add later some images with the class "fader" they don't fade. $(document).ready(function() { $("img.fader").hover(function(){$(this).fadeOut(100);$(this).fadeIn(500);}); }); Thanks for any hints!
[jQuery] Callback no being executed from a post call...
I am having a problem, The callback function I am passing to the jquery post request is not executing the success callback on a successful reply from my servlet: Here are some code snippets of what I am trying to do: top of my file: if (Ajax == null || typeof(Ajax) != "object") { var Ajax = new Object ();} Ajax.callBack = function(data, textStatus) { alert('in callback'); } Ajax.call = function (url, formValues) { $.post(url, formValues ,function(data, textStatus) { Ajax.callBack (data, textStatus);
[jQuery] Table sorter pager and live search problem
Hi all Can some body please tell me the solution to this problem... I have 2 tables on page and 2 pagers. Both table have different height but same width. Each of them occupy 50% of page width . one is on left other is on right.. the problem is the pager of 1st table is using the height of second table pager. When I put an alert in pager.js file ... I can see different height for pager for both tables but finally it comes back to second table pager height.. also , I am using live search plugin: it
[jQuery] Problem's with tinymce on overlay
Hi everyone, I have some troubleshoots with including tinymce editor on the ui block http://malsup.com/jquery/block/. When I set up the editor on the ui block overlay, the tinymce scripts are no correctly loaded, the effect is, the editor behavior is like disabled( I can't put any char).Have any one resolved, or meet with this problem? I will be gratefull for any help.
[jQuery] "class" weirdness in loaded XML?!?
I have something very strange going on trying to create a wrapped set of elements from an xml file loaded via jquery's xmlhttprequest. The xml has a number of entries with class attributes that have multiple values, ie <span class="mycategory mychoice" ...>...</span> When I use this selector: $('span[class*=mycategory"],xml).length jquery returns zero. Weirdly if I do exactly the same thing but use a different attribute name from "class" in the xml and the query, it works perfectly. If I use this
[jQuery] A Way to view currently bound event handlers
Does anyone know if there is a way to view the function names of the currently bound event handlers for an element? i.e. if I do $ ('.someelem').bind('click', somefunction);, is there a way to check and see if somefunction is bound to the click event of '.someelem'? Thanks in advance
[jQuery] parent function value
Hello, I'm new in javascript and jquery, and i need little help. function checkUsername(name) { function checkUsername(name) { $.post(prefix+'/registration/checkUsername', {username:name.val()},function(data){if (data == 'yes'){name.addClass ('ui-state-error'); updateTips('Username taken'); return false} else {return true} }); } How can I set checkUsername to "true" or "false" from function(data) which is communicating with my php code. Thanks.
[jQuery] jQuery Ajax XML not working in IE6(most people)
Hello, I have been looking at this for a few days now and I am not having any luck. I am using jQuery 3.1.1. I don't think I have any character encoding issues, all files are in UTF-8 format. Is it possible that I left a header out when creating the XML file - like the doctype=text/xml? If so how do I make sure this is added? Well thanks for taking a look. :D MY HTML + JS ----------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
[jQuery] Feature Detection Best Practice?
I ventured into feature detection, and I want to make sure I'm doing this the "right" way. Basically the fx on the jQuery UI tabs causes aliasing in IE 6/7 (but not 8). Instead of checking for those browsers the old way I thought this is the right way. if (!$.support.opacity) { $(".ui-tabs > ul").tabs(); } else { $(".ui-tabs > ul").tabs({ fx : { height: 'toggle', opacity: 'toggle' } }); }
[jQuery] Accordian with Radiobutton List
Has anyone done a radiobuttonlist with accordion in that you select a value and the accordian shows right underneath the selected radio button? I'd only just need to show one collapsed panel. I want to shove in an IFrame into that panel to show the user a website / page scrape in a login form. -- View this message in context: http://www.nabble.com/Accordian-with-Radiobutton-List-tp22043743s27240p22043743.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Next Page