Id selector problem on tags with mutliple ids
Hi all i have this selector in my script: var submiter = $this.find('#submiter'); then html goes like <button id="someID submiter">.... With this markup submiter comes back empty, but i change html to <button id="submiter">.... Then it works.. What is going on? Am i doing somthine wrong ?
hi all... i have a problem in jquery while checking the returned data from server.. pls anybody can resolve it?
this is my login jsp i am checking the data that is returned from controller... if it is false then i have to display error page in jsp.. But eventhough if am getting true value from controller its printing the error message... that is the if part is not executing eventhough if i give correct login details...but when i put alert(data) inside post its showing true or false according to the login details entered... what is wrong in this? why if condition is not executing eventhough the content of data
How do I change the href of a link?
Hi, I am new to jquery and I am trying to create an image gallery from the 20 last images in posts in a Wordpress blog. So far my code works nicely to collect the images from the posts and make the external image gallery script work with them. What I want to do now is to get the permalinks for each post and wrap them around the image from that post. The way the page is coded in Wordpress now, the images are wrapped around a link to see the full size image and that is the way I want it to be in the
Please help me stopping my menu from flashing on mouse over!
Hello, I have recently started with wordpress. Knowing next to nothing about javascript and/ jquery, I have downloaded a theme that makes excellent use of these. However, recently my menu started flashing like crazy when mouse over. I'm sorry, I really am a newbie at this. The URL to my site is www.surreal-exposure.com And here is the specific code for that menu: function menu() { $('ul.menu li').hover(function() { $(this).not('ul.sub-menu li').find('a:eq(0)').stop().animate({ paddingLeft: '20px'},
Already a Problem: Can't download JQuery 1.5.2
Hi, This is my first post. I am on a Mac (OSX) and am having trouble downloading the jQuery Core download - it goes to a page and shows up in a script. I tried going in UI and downloaded (I think) the Core 1.5.1 not .2 and the UI of 1.8. How can I download 1.5.2? Thanks, NJ
Refresh div contents on click
Hi all. I'm new of course. What my little page does here is show a random image in a specific div when a link is clicked. Now I want to have the contents of the revealed divs to refresh when I click on them so that a new random image populates. For example the "a" tag that you see in the whiteDie div would be clicked to refresh its content. I have no idea where to start. I know i'm i over my head here; i've been researching all day just to get as far as i have. Thanks. <!DOCTYPE html PUBLIC "-//W3C//DTD
Newbie - Looking to make the switch.
Hi Guys / Girls Looking to make the switch from flash to jQuery as its the obvious direction of the web. Currently our website (www.farmersofsalem.com) has a flash banner with another flash file loaded within itself once the page loads. Below that is just a flash navigation. The effects dont have to be perfectly identical, but I'm looking to do something similar or maybe even better. Can anyone point me in the right direction?
detecting a browser's back button
I'm sorry, I know (or think) this question is answered already on the board in a couple places - but I'm still new and I just can't wrap my head around this. I have a jquery-powered "start page" that checks your log in and if successfull it slides in a "menu" of new places to go. The problem is, if you click back from one of the new places, the original "start page" looks as if you never logged in. You have to reload the page. Not very intuitive and this website is for kids. Now I've tried setting
display div width&height + div x&y coordinates
hi, im new to JQuery, i found 2 tutorials which i followed ut now im a bit stuck. I have x amount of draggable & resizable divs, they work as i want them to, im outputing the coordinates of each div in a textfield. My problem is that the textfield only displays coordinates when a div is CLICKED, so when holding the mouseBtn and draging a div around then releasing the mouseBtn the coordinates aren't displayed in the textfield. I tried to set 'mouseup' instead of 'click' but then the divs are being
jquery dropdown menu for textfield and values passed?
I found there are many answers that jquery developer tend to use jquery autocomplete plugin to obtain the DROPDOWN style on the textfield. That was nice if the Server give a responds of 1 type of values. (for example; only a Brand name type, or anything that only 1 type, in which the occurance may appeared more than once). But how about when the returned (responded) values from the server is many types. And they also occured many times. I prefer to extract these values for these destination; 1)
Memory Game, hover card
Hi, I'm currently trying to code a jQuery base memory game for school. I however got one problem right now. The cards are supposed to change picture on mouseover and change back on mouse leave. However, if you click on a picture, that card isn't supposed to turn back right away. I thought I could fix this with classes, but it doesn't work. Any suggestions. Here's a part of the code: $(document).ready(function() { $("img.spelkort").mouseover(function() {
Form submission opens modal confirmation dialog
I'm going to preface this by saying I know next to nothing about implementing jquery. Thus far, I've just been very lucky and able to figure out a few things on my own. I have a simple form on my site that, upon clicking "submit" calls a PHP file. I'd like to have a modal dialog box open when you confirm submission (like this.... http://jqueryui.com/demos/dialog/) but can't understand how to target the submit button to make this happen. http://theassemblydesign.com/ I already have jquery script
Getting 'Preferred language' value
Good day, How to and in which memory variable read the 'Preferred language', and make another HTML page call based on this value ? A HTML instruction, a JavaScript or a jQuery instruction ? Which one ? 'Preferred language' is in fact yet memorized in ... - Mozilla FF browser : Via Menu's : Tools > Options > Content > Languages - IE browser : Via Menu's : Still have to find the path - Google pages : in 'Search parameters' (up right) - in the OS parameters (registry keys) of Microsoft. I assume that
Collapsing a list but making the header not link if there is a child
I have the following list setup I want to toggle open and close a section. This is working with the code I have below except except when you click on the menu item that slides it links to the page. When I set the return to false then all the other links in the list stop working. I think I need to do some <If then> to determine if it is a child but I am so new I am lost. Your help will be appreciated. ul class="menu" li class="menu-item" a herf ul class="sub-menu" li
'HI' is undefined in jquery-1.3.2.min.js
I am totally new to jquery. As I started maintenance work on this website which is giving message in browser's status line 'HI' is undefined and it points to file jquery file. Can I modify these JQuery files? Thank you
:not() selector not working on IE (6 to 9)
Hello everyone, Here is my problem : I want to select all the h2 in my #corps container, except those with a .post-title class. The following selector doesn't work with IE (from 6 to 9). No problem with Chrome, Firefox, Opera. #corps h2:not(#corps h2.post-title) The HTML: <div id="corps"> <div id="contenu"> <h2>Actualités</h2> <div class="post"> <div class="post-head"> <div class="post-avatar"><img alt="img" src="/img.jpg" /></div> <div class="post-title-info" > <h2 class="post-title"><a href="/blah">Blah</a></h2>
jquery calander - windows server 2008
Hi everyone, i have an issue with jquery datepicker in winndows server 2008 SP1 i executed my datepicker in window xp ie8 it works fine but when i execute the same datepicker in window server 2008 it cannot able execute it, any solution Regards, Elango
On tab hover
hello On tab hover After the click I lose the scc over, On the below code I get the hover on all the elements at ones but I need to get hover per 1 element <style type="text/css"> div.tabArea { font-size: 80%; font-weight: bold; z-index:199; position:relative;} a.tab { background-color: #f0f0f0; border: 1px solid #000000; border-bottom-width: 0px; padding: 2px 1em 2px 1em; text-decoration: none; color: #808080;} /*.activeTab { color: White; }*/ a.tab:hover { background-color:
drawing a polygon.
hello I need to see an example that contains drawing a polygon. Could you possibly supply it ? regards Ahmet Temiz
convert js function to jquery
New to jquery, a little confused. How does one safely convert this js function to jquery? Can you even do this in jquery? function ShowToggle(parent,group,id){ var ShowElement = document.getElementById(group + '_' + id); var ControlElement = document.getElementById(id + '_ctrl'); var GroupIDLen = group.length; var DivArray = document.getElementById(parent).getElementsByTagName('div'); for(var i = 0; i < DivArray.length; i ++){ if(DivArray[i].id.substr(0,GroupIDLen)
Getting the text from a li and sending it to another li.
Hello jQuery developers, I have this case: 1) There are 2 tipes of li: li.chosen that contains a single string. This string will be replaced frequently. 2) Each li.pick when clicked must send its text to li.chosen, but first the string of li.chosen must be erased. In short words, I want this list to act as a selector. <ul class="select-dominio"> <li class="chosen">.com</li> <li class="hidden-domains"> <ul> <li class="pick">.com</li>
A click function that is not always fired when object is clicked?
I am working on a basic AJAX website and have noticed a very small, yet frustrating issue. http://www.conleyconcepts.com/staging/ If I click a navigation item immediately after clicking another one, nothing happens. Can anyone shine a light on this? Is the browser struggling to handle simultaneous click events? Thanks!
Appending to href of set of anchors
I'm sure the answer to this question has to do with iterating over each element in the wrapped set, but I still don't understand why. I have a number of anchors in my page that have a class named Get. I want to append a querystring name value pair to the end of each href. $('.Get').attr('href').append('&id=' + id); does not work. Can someone tell me why and what is the correct solution. Thanks
How can i disable first node from fg.menu flyout style?
Hi developers; I am newbie about jquery and java. I have a problem. I want to disable first node from fg.menu flyout style. I 've changed some areas but it is not working what i want. Can any developers help me about this problem? Thank You.
need help creating an alert inside Autocomplete ajax
I'm having trouble creating an alert to see the data inside the success function. The code is below and does not create a drop down table, though other things work. I'm trying to look at the returned data in the success function and at the values of the label and value items. The alerts I've tried do not trigger, or create syntax errors. What alert(s) should I use? jQuery Autocomplete ajax: $("#stateProvince").autocomplete ({ source: function( request, response )
Specific Size Scrollable Navi
I am trying to use pictures as my navigation, but am not sure how to specify the size of the pictures. I have used the JQueryTools Scrollable Navigator. The <style> looks like this: background:transparent url(images/Layout1_Menu_All.png) no-repeat; display:block; width:187px; float:left; height:30px; cursor:pointer; The part I can't figure out is the "height:30px;". I would like the height to adjust to whatever the height of the picture is, but would settle for being able
acces json with single record
When my script returns [{"Status":"Ok"}] from a jQuery.Ajax request, how do I get the Status Value? jQuery.ajax({ ... success: function(data) { alert(data.status); //<---- Is undefined }, ...
Laggy slideDown()
Hello, I'm looking for advices here. I'm using slideDown() to make a list of options with hidden content which appears on mouse click. However, the movement of sliding content feels jerky. Is it possible to optimize this script or should I go for slideDown(0) and slideUp(0)? jQuery(document).ready(function () { jQuery('a.slidecontrol').click(function(){ var $this = jQuery(this); var divID = $this.attr("id").replace("slidecontrol_", "slidedisplay_"); var $div = jQuery('#'+divID);
HELP with jQuery.getJSON method
hello jQuery experts! i am new to jQuery and i need help in getting getJSON method to work. Here is my code: <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.getJSON("http://api.worldbank.org/countries/PHL/indicators/GDPPCKD?per_page=10&date=2005:2010&jsoncallback=?", {format:'json'},
how to inititate AJAX get when user clicks off of a textbox / fills a textbox
Hi there, I've been reading about jquery and ajax and I'm not exactly 100% sure as to how to implement it. Essentially I have the following: a textbox a select box another select box As the user fills data in the textbox and then clicks off I want the javascript to fire, submit the value in the textbox to a url (I can handle the backend side of it all fine) which will then send new data to the select boxes. Similarly for the second select box when a user clicks off (After selecting) I need the jquery
Form fill
I have a form with the labels name, street etc. The data come from the database. Now i want to update the data from a another database and fill the form with the new data. How can i solve this?
Could this be streamlined?
Hi, I'm *really* new to jQuery, but learning. After reading up and watching a few tutorials, I set myself the test of creating a rudimentary gallery by memory, and came up with the following jQuery code: $(document).ready(function(){ $('.nav a[title=Freddy]').click(function(){ $('.cont img').not('.cont img[title=Freddy]').fadeOut('normal'); $('.cont img[title=Freddy]').fadeIn('normal'); }); $('.nav a[title=Myers]').click(function(){
string search works 1x only
This only works 1 time. the second time the value is the same as the first time. $(function() { <!--------1.1-------------> $('#select_client_dd').change(function() { var client_info = $(this).val(); <!--- first time I receive 1:a:a:a -------> <!--- second time I receive 2:b:b:b -------> var client_id = client_info.search(/:/i) ; <!--- first time I receive 1 -------> <!--- second time I receive 1
New to jQuery and Need Help!
Hi there, I'm really new to jQuery, and have been wrecking my poor brain for over a week trying to figure out how to rotate four images that each have a different animated caption that automatically slides over them. I developed it in Flash, but need to convert it to jQuery, and I can't even find a plug-in that will do what I need. Here's exactly what I need it to do: Sample. Do any of you gurus have any advice or pointers? Thanks a million!
Need help to make my jquery slider module to scroll smoothly instead of every second
Hi all, I am really new to jquery, I have recently purchased a slider module for Prestashop, however I want to change the scroll sequence to make the items scroll smoothly without pausing, I have looked into the controls of the slider but cant figure out whether it has options to do this or I will have to configure it to to this. Here is the controls in the .js file // Default configuration properties. var defaults = { vertical: false, start: 1, offset: 1, size:
Hi, how do I enable jquery warnings?
I'm sure this functionality must exist somewhere, but I can't find it. basically, I just spend over 3 hours until I realized that $("index") is not the proper spelling for selecting the index div. It would be swell if I could be alerted to such errors, I'm sure this is easily doable. I just need warnings whenever something fails, and this is a clear case of failure, since so such property or function exists, right? Thanks for your help
making carousel for links
Hi everyone, So my problem - I've a big massive of links. With I wish that only (for exampe) 5 links would be shown at one time, then first of these 5 links hide, so to last 4 links will be added a new one from big massive, then will be mouse hover statement carousel paused for a little to allow user follow hovered link.
Rollover trouble.
I have a jquery image-swap which is working fine. Here is the code: $(document).ready(function(){ $(".attachment-post-thumbnail").hover( function() { var hoverImg = HoverImgOf($(this).attr("src")); $(this).attr("src", hoverImg); }, function() { var normalImg = NormalImgOf($(this).attr("src")); $(this).attr("src", normalImg); } ); }); function HoverImgOf(filename) { var re = new RegExp("(.+)\\.(gif|png|jpg)", "g"); return filename.replace(re, "$1_hover.$2");
HOw to create master page like .net in jquery while using java...........
I am new to jquery if my question is silly i am sorry for that, i want to create a master page in jquery in that the sliding login panel will come in all the page and side link panel will be there if any one created these kind of page in jquery please help me by sending some sample code...........
How to load coordinates from xml into jqplot graph?
Hi all, I'am new to Jquery and Jqplot. I have to create a website where a user can upload a xml file which should then be shown as a graph. My main problem is that I dont't know how to extract the x/y-axis coordinates from the xml file and how I should put them into the Jqplot code.. I'm just trying right know and show you some Code I made... Dont't blame me^^ I'am doing this only for a few days.. Thats my very simple XML file with only x and y coordinates: <?xml version="1.0" encoding="ISO-8859-1"?>
Next Page