problem with firefox
please help me.which browser is suitable for jquery
synchronize calls to the server from each() loop
Hi, I'm sending some html selected paragraphs from an iframe to the server to update a database. I have something like: $(".selected", $(frame).contents()).each(function(){ ... sendToDB($(this)); } But sometimes it takes time to update the database and not all the paragraphs are sent to the data base. is there a way to synchronize this loop with the response from the server?
need help for slideshow jquery
hi,i need to code of beautifull slideshow jquery for php nuke?????????/ plz if you have give to me
need jquery slideshow help
Hi I have just pasted in coding for a jquery slideshow but it only keeps showing the first image and none of the other images, the coding is below In the head section I have the following <script type="text/javascript" src="jquery-1.2.6.min.js"></script> <script type="text/javascript"> /*** Simple jQuery Slideshow Script Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc. Please link out to me if you like it :) ***/ function
get pieces of text from unpaired tags
Hi, I'm trying to get the text nodes of this paragraph: I would like to get each part of text: text0, text1, text2,text3 and text4, and surround it with a div element. I've tried to get the paragraph childnodes into a list of nodes, but it doesn't get the textnodes. Do you know a way to get these pieces of text and surround them? <p><span>text0<span> text1</span>text2<span >text3</span>text4</span></p> Regards
Ajax cache
what is the default value of cache parameter? is there any example of ajax cache?
Javascript to Jquery
hi ; i need to convert to javascript to jquery but i dont know how to do it , can you help me ? thanks for helps best regards i need to convert this javascript <script type="text/javascript"> function configureDropDownLists(XLEW_3_5_3,XLEW_3_6_3) { var K31_213mm = new Array('90', '106'); var K32_245mm = new Array('90', '106'); var K33_338mm = new Array('90', '106'); var K31D_213mm = new Array('106', '160'); var K32D_245mm = new Array('106', '160'); var K33D_338mm = new Array('106', '160');
HTML links and some jQuery functions stopped working when I downloaded an updated and minified jQuery
I need to clarify which jQuery files to include in order for jQuery UI and widgets/plugins to work. I recently downloaded a more recent and minified version of jQuery and most of the basic site functions stopped working inside a Dialog Modal (including text boxes, radio buttons, checkboxes and html links), and it has stopped reading some of the options that I've defined for jQuery functions (i.e. validation and placeholders). I'm including these files in my header: jQuery core and UI jquery-1.7.2.min.js
jQuery too big for embedded device
Hi, I'm using jQuery on a webserver of an embedded device. However, the embedded webserver will not serve files that are over 64 kb. Can I split the minified jQuery file into 2 or 3 files? Please point me into the right direction.
connexion forms
Hi all, beginner, I try to create a login form. I installed a JQuery plugin with a sliding panel hung on the top edge with the forms: http://web-kreation.com/demos/Sliding_login_panel_jquery/# "> web-kreation.com The best result I could get so far is the display of query results in the panel above the form, but I can not seem to find the error that prevents the script to interpret the response (1 or 0) It always display the error text input: Form: <div class="left"> <div class="errorlog"></div>
The code doesn't work properly
When I test it, it appears the tournament bracket but also some code in the web, can anyone help me? <script type="text/javascript" src="http://www.aropupu.fi/bracket/site/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="http://www.aropupu.fi/bracket/site/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.min.js"></script> <script type="text/javascript" src="http://www.aropupu.fi/bracket/site/jquery.json-2.2.min.js"></script> <script type="text/javascript" src="http://www.aropupu.fi/bracket/site/syntaxhighlighter_3.0.83/scripts/shCore.js"></script>
Ajax and fancybox, ajax with update only one div(not all page).
Dear ajax developers,help me please. Have a block with a basket status and the table of goods with an one of column with a form ADD2BASKET,wich adds a good without page update(ajax using). The quetion: How to update only basket informer when add2basket event done? 2nd quetion: This goods table using fancybox library to view good's images,after adding to basket stops working too. Thanks for any help.
Simple snippet copied and pasted from here, why not working?
Hello, I am replacing the whole stuff by something that I (finally) managed it to make it work. Yet, I have some doubts about this. My problem is that I am not loading that document value that you see, which is the index of the first dropdown list to a controller (I am working in an MVC env). So I introduced this extra callback function to see what happened, but, actually, I think this callback is not telling me anything, or is it? when I move the select box it does get executed, but why am I not
Fadeout takes focus away from another element?
Gidday I have a textarea in a form, all wrapped in a div. Below that div I have a blank status div, which I fill with html for status updates from php. i then fade the status div out: $("#status").html("Please type in your message.").show().fadeOut(5000); Problem is that I cannot click inside the textarea in the form above until the fadeout animation has completed. I tried it with a hide(5000) instead of a fadeOut, and I am able to click in the textarea no problem. Any ideas of how to get around
Equal width of column in multi table
Hello jquery friends ... I create web where I must use tables, no ul/li or div. Problem is, that there are 3 various tables, each bellow another. Every table has a few collumns, but I need to keep the first columns of all of them in the same width. But width should be dynamic given, as width as largest is column in any of them. The largest size of width because of no wrapping. No use of any exact size in px or %. Did you see anything like this? Thanx. F.
canvas pls help
http://www.russellbeattie.com/blog/media/canvas.html guys how to draw the background image for the toggle elements using canvas i looked into the above code but couldn't figure it out http://jsfiddle.net/s6hBG/7/
.replaceWith() /.html('..') reach ancestors
Hi, <p id="1"><div class='selected'>this is an example</div></p> $('.selected').html( '<div class='selected'>this is an example</div> '); I get: <p id="1"><div class='selected'><div class='selected'>this is an example</div></div></p> and I can get the closest paragraph outer HTML: $(this).closest('p').clone().wrap('<p/>').parent().html(); However I want this: $('.selected').replaceWith( '<div class='selected'>this is an example</div> '); to get: <p id="1"><div class='selected'>this is an example</div></p>
need help!!! with TABBED NAVIGATION not working
okay so Im taking this class to learn Jquery and I have this assignment where i am learning how to use selectors, traversing methods, etc.. Just the basics. Well I have created this document and was able to get the top nav to work okay but not 100% but the part where i am really having problems is on the tabbed navigation on the bottom. I have tried doing this based on the instructions that were given to me. Can anyone look over my doe for e and help me understand what I may be doing wrong and
how to select only one div among divs with same css class?
hi, Currently i am trying to create a tabbed menu. For this I am using a parent(container) div with multiple divs inside it. Each corresponds to one tab and since all these tabs (divs) will have same implementations so I have used same class for each of them but different divs to differentiate between them. Now I want only one of the tabs to be selected at any instance. But I am not able to find out a way to do that. following is the html what I am using. <html> <head> <title>jQuery 1.7.2</title>
A None jQuery problem
A None jQuery problem has come back,So am thinking that you guys on here would on the Answer to this problem. Am working on a PHP form that has the datepicker init. I have added a new css file just to change the size of the picker, and it all works fine in IE9, all works fine if viewing it, with-in the root of file-server (On the server). But trying to View it in firefox, chorme, and safari they all show the old format for the calender. Which is to Big. Have changed the setting in these
I need help in making menu design
Hello everyone I explain you now what exactly i want I need to make one website where i will be having a background image. (1) There will be one squirrel on background image (2) so whenever we put pointer over the squirrel one box will be open (3) in that box i will have Menu Option . Please i need it soon. anyone can help me? Please provide me code for that
form submit doesn't work?
I was working however somehow it doesnt work know do you have any idea? <form id ="my_form" action="gs.php" method="post"> <input id="search_bar" name="q" type="text" autocomplete="off" /> <input id="button" name="submit" type="submit" value="Search Events" /> </form> <div id="results"></div> <div id="map_canvas"></div> <div id="event_list"></div> $(document).ready(function(){ $('#search_bar').keyup(function(){ if($('#search_bar').val() != ""){ $('#results').fadeIn();
gridview limit check boxes to only one checked
I have a gridview control that's bound to a stored procedure, but also contains four non bound checkboxes. What I want to do is limit the user to only one check box checked. That is to say, if the user already has a check box checked and checks a second check box the first is unchecked. I've tried a number of things but can't seem to get it to work. I assume, which is always dangerous for me, that what I need to do is on the onClick event of the checkbox, is to get the id of the ckeckboxand then
Referencing Sharepoint menu items
Hello I got a design for a site which sets the top menu items to be of different colours. I couldn't figure it out without use of jQuery and have also problems with that as well. I have to implement it with Sharepoint and it more or less defines the menu markup as below: <div class="menu horizontal menu-horizontal"> <ul class="root static"> <li class="static"><a class="static menu-item" title="Subsite" href="/Pages/default.aspx" accesskey="1"><span class="additional-background"><span class="menu-item-text">Front
Accordion Embedded in Sortable Connected Lists
Hello, I'm new to jquery and I'm willing to build and embedded accordion within a Sortable Connected Lists... I already succeeded embedding the accordion within the tabs however I get two issues: 1- When I drop an accordion from one tab to another I can no more see it's content when I click on the header. I can see I can open it (the little arrow show that it is opened) but no way I can read what's inside the accordion. It's somehow "hidden"...) Looks like the div is broken somewhere. Any clue ?
Advice on a jquery slider please?
I have done this tutorial over four times today. see nothing wrong, would a local expert please take a look and tell me where I am off? Thank you! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>slideTest</title> <style type="text/css"> .slider { height: 300px; width: 500px; overflow:
.html (); for getting form input tag content
How can I "get" the contents that are typed into a input on a form and place them in a element? The example below works on html elements but doesn't seem to work on input. Do I have to "action=post" the contents to make them accessible? <form> <input id="year" type="input"> <input value="Generate" id="generate" type="button"> </form> <div id="source"></div> <script> $('generate').click(function() { var year = $('#year').html (); $('#source').text(year); </script>
Need help with jquery slider
I am trying to create left and right navigation over my slider using jquery and the jquery cycle plugin. I am terribly new to this. I would appreciate any help and can send a screen shot of what I am trying to accomplish. Thanks in advance.
Passing information into a form using JQuery and sharepoint
I'm using SPServices to try and take a user's email address from Sharepoint and send it to a new form field. I can get the email address without any trouble but I can't seem to get the email address put into a new form. This is the SPServices call I'm using to get the email: $().SPServices.SPGetCurrentUser({ fieldName: "EMail", debug: false }); How can I pass this into a new form field? I've tried googling but I'm brand new to JQuery as of today and I'm having trouble. I would appreciate any help.
disabling required validator and how asp:panel
I have linkbutton on a click event I would like to show asp:panel (disable required validators). here is my code. what's incorrect? <script type="text/javascript"> $("#<%= lnkbAddNewGroup.ClientID %> ") .live("click", function (event) { alert('click'); disableAllValidators(); return false; }) function disableAllValidators() { if ((typeof (Page_Validators) != 'undefined') && (Page_Validators != null)) { for (var i = 0; i < Page_Validators.length; i++) { ValidatorEnable(Page_Validators[i], false);
Calling function inline
I have the following function: $("#myDiv").myFunc({ initDelay: -1, delay: 1000 }); I have another function in another .js file: $.fn.setRandomDelay = function(){ return Math.random() * (4500 - 1500) + 1500; }; I want to set the delay in the first function inline. Something like this: $("#myDiv").myFunc({ initDelay: -1, delay: setRandomDelay()}); But this won;t work. Is there a way to do this?
I found a bug for jquery 1.7.1
I am a chinese ,English is not so good, I found When I with "div.select" get a dom, every time to cache, This is not to efficiency has very big effect?
New plugin
Hello all, I've been developing a piece of JavaScript for quite a while now and have been recommended to turn it into a jQuery plugin. What's the procedure for doing that - what's the first step? Do you write the code on your own site first, as a jQuery plugin or do you submit the conventional JavaScript somewhere? Thanks in advance, Kind regards
jquery round corners all around
Hi I am trying to put round corners on a slider div. But so far I am only getting one round corner <script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="../s3Slider.js"></script> <script type="text/javascript" src="../js/jquery.corner.js"></script> <script type="text/javascript"> $("document").ready(function() { $('#s3slider').s3Slider({ timeOut: 4000 }); }); $("document").ready(function(){ $("img, li,a").corner() }); </script>
disable button
i am trying to add a property of "disabled" to a button using .prop (instead of .attr, i learned it should not be). here is what i have: http://jsfiddle.net/AdJXH/
Animation with jquery - callback problem
Hello everyone! I am preparing web-presentation and I would like to use jQuery animation to move some content. This animation consists of sequence of actions. Here is the code of script: <!-- Script moving elements of animation --> <script type="text/javascript"> var speed=2000, txt=""; function animacja(){ $('.firstArrow').animate({top:-70, left:650},speed, function(){ $('#refreshImage').fadeOut(500, function(){ $('#refreshImageGreen').animate({ transform: 'rotate(180deg)'},
replace MySQL á
Hi, I have a lot of text saved as html in a MySQL database. I would like to replace some of the paragraphs, but I have words and vowels which are like this: á that in MySql is saved as á and it's difficult to replace. Do you know how to do this? regards
Displaying a div when hovering over a button
Hello, I am new to jQuery and my goal is to display a div containing content when a button (to the side of the div) is hovered over. To a further extent I want to not only display the div but cause the function that is already running (one that rotates through displaying my 5 divs) to stop, so that only the div from the hover button is displayed. Hopefully this makes sense. I do have some code I am working on that I can share.
help on onclick function
Hi, I have 4 images and when i click on one image it should be covered with blue colored box (to indicate that it is checked), and when I click on another image, previous image should get the previous status and now the current image should appear checked with blue colored box on it. could any one please suggest me how to do it. Thanks a lot.
jquery scrollTop
Does anybody tell me why this code doesn't work? frames[i] is the frame where the element is (a span element). I don't understand what's wrong: $(frames[i]).animate({scrollTop: $(el).offset().top},'slow'); regards
Next Page