[jQuery] .val is not a function
All the core functions for JQuery seem to have stopped working. Jquery is the first script include so it appears before the other functions. <script src="../../Shared/JS/jquery-1.3.1.min.js" type="text/ javascript"></script> <script src="../../Shared/JS/Functions.js" type="text/javascript"></ script> <script src="../../Shared/JS/PPFFunctions.js" type="text/javascript"></ script> I'm using asp.net webforms so I have a function that fetches each elements value for me according to the ID // Returns
[jQuery] guiding principles of jQuery documentation?
i am a documentation person on a software development team i asked one developer what was the best API documentation he'd seen, and he said jQuery question: how did the folks who created the jQuery documentation produce such clear, elegant, useful documentation of an API? other than simply copying what you have done, i would like, if possible, to learn about your thoughts, principles, and technical practices so, i will be grateful for any pointers--thanks
[jQuery] Has anybody managed to print a sorted table using table sorter?
Hi, I've got table sorter, has anybody tried to print a table after sorting it ? Thanls
[jQuery] Jquery variable passing
Hi all, I'm really new to Jquery. I've a basic ajax form post, my question is how can I take the data section of the below request in pathSubmit.php? My aim is to pass some variables(in the case below pat=12 ) from host php file to the file I'm calling in Ajax without using ? sending and session variables. I'd be happy if someones help me :) I tried $_POST['pat'], $_GET['pat'] and $_REQUEST['pat'] in the file I'm calling but none take the value. Thanks. var options = { type: 'POST', url: 'pathSubmit.php',
[jQuery] Hover Effect on 2 rows
hi, i'm using JQuery to add a Class when a row is hovered over - i have it working, however, each row of data has 2 rows in the table - I want to have both rows change background color whenever i hover over either of them. The table already has 'stripes' for alternating records and readability. I'm using function: ================= $(function(){ $('.Row').hover(function(){ $(this).addClass('hover'); }, function(){ $(this).removeClass('hover'); }) $('.AltRow').hover(function(){ $(this).addClass('hover');
[jQuery] Superfish - Drop down opacity
http://bischoffhomeremodeling.com/index.php?option=com_content&view=frontpage&Itemid=53 if u hover over customer testimonals, the background for the drop down menus are clear. I was looking, but i dont see how to change this?
[jQuery] Inside page jumps,
Hi, I have quite complex page with internal link inside. < a href="#there" id="jump"> Jump</a> and <a name="there" ></a> far a way on bottom page. When I click a link Jump page jumps to specific < "there"> place. It is fine. Case is that "click" should be done from jquery code... I put code $("#jump").click(); and it seems to work because function from $("#jump").click( function () { alert('Hi'); } ); is fired and alert Hi is displayed. Unfortunnately page is not moved to a new position. #there is
[jQuery] paint columns in alternating colour
i have this table structure - a database feeds rows into it with Class=Row or AltRow I want to paint the columns in alternating colours for both Row and AltRow for readability I tried: $(document).ready(function(){ $(".Grid>.Row>td:even").css("background","silver"); }); and other variations - i'm having difficulty selecting the TD's in the TR of Class 'Row' which is in the table of class 'Grid' - at one point i got a checkerboard effect :) I can give the table an ID if that's better to pick things
[jQuery] complex selector question
Hi there i want to get all select elements on a page with name=test [1],name=test[2]... is there a way to specify a placeholder in the selector? i think about $('select[name=id[*]]').each(function(){ alert($(this).html()) }); is there any possibility for that? thanks for your replies
[jQuery] [Cycle Plugin]
Hi all, I'm building a slideshow in HTML and the cycle plugin helps me out with making it look smooth. My slideshow has manual controls, it has previous and next anchors to go back and forth the slides. This all works, no sweat. However I also have a counter which indicates at which slide you are. Starts with 1 and with a click of next it should go +1 and with a click of previous it should go -1. I've set this up with making use of the after callback, so that a function increments the counter with
[jQuery] How to use one button to toggle multiple panels in succession
I want to have 1 "+" with x number of slide panels set to display: none; under it . When a user clicks the "+" a panel is revealed. Each time the "+" is clicked, the next panel is revealed, and so on. Each panel will have a "x" that can be clicked to close itself. I figure I would have to create an array for my collection of DIVs, then with clicks, iterate through each one until I have the desired number of panels revealed, or, I reach the end of the array. I just have no idea how to begin with this.
[jQuery] copy input vals to 3 siblings in diffrent TR/TDs
Hello I have problems iterating with each() and traversing in jQ. can you help me out with a slick example? thx a lot! $("input.frage").each(function () { var output = $(this).val(); //$("input.frage").nextAll().val(output); /*NOT WORKING*/ console.log(output); }); .....many TRs before.... <tr> <td><input class="frage" type="checkbox" value="Sicherer Arbeitsplatz" /> Sicherer Arbeitsplatz</td> <td><input class="beruf1" type="checkbox" value="beruf1[]"
UI Accordion, with Ajax loading and cookie support?
Hi everyone Does anyone know of a way of having the UI accordion load the content through Ajax? It would be really cool if there was cookie support as well, so the last selected accordion item is automatically selected on page re-load. Anyone managed to build those features in? Or are they planned for a future UI release? Cheers, B
[jQuery] jqGrid final preview
Hi all, At end I have done a lot of work to finalize the jqGrid. More information you can found here http://www.trirand.com/blog Note that this is not official release, since of missing documentation. I'm working hard on this and hope to finish the documentation at end of week. Enjoy Tony
.delete() doesn't seem to want to work
Hi all I have a nested list of sortable list. What i'm trying to do is delete a list item by dragging it to a drop box area. But for some reason when its not firing to delete, Weird This is my code: Javascript <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript" src="ui/ui.core.js"></script> <script type="text/javascript" src="ui/ui.draggable.js"></script> <script type="text/javascript" src="ui/ui.droppable.js"></script> <script type="text/javascript"
[jQuery] Jquery stops half way through animation in IE
IE problem only (again :-( ). Script is simply: <!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> <link rel="stylesheet" type="text/css" href="http://static.REMOVED.com/css/admin.css" /> <script type='text/javascript' src='http://static.REMOVED.com/js/jquery.js'></script> <script type="text/javascript"> $(document).ready(function(){ $("#successful").hide();
jquery tabs ajax mode
Hello. I need some help with tabs jQuery v2.7.4 of stilbuero. I want to use Ajax Mode and open the links in a specifically container. For example: <div id="box"> <ul id="tabs"> <li><a href="01.html"><span>Tab one</span></a></li> <li><a href="02.html"><span>Tab two</span></a></li> <li><a href="03.html"><span>Tab three</span></a></li> </ul> </div> ... <div id="container"></div><!-- Open external links here: 01.html, 02.html and 03.html --> Can you tell me how to do it? Sorry
[jQuery] tablesorter
Hi, If my table contains near about 10000 rows, because of tablesorter plugging the page is getting hanged in Firefox2. I didn't check in other browser as it must be fixed in FF first. And I have no idea how to debug or solve the problem. Anybody faced the problem before?
[jQuery] API Browser for your iPhone and iPod Touch
I wrote an API Browser as a "Web App" for the iPhone and iPod touch. It downloads the docs to a local sqlite database for quick browsing of the API. It is basically a proof of concept right now (the code is ugly and a little buggy). However, if enough people like it I'll go ahead and take the time the polish it up and fix the quirks/bugs. Let me know what you think, how it performs, etc. BTW... If you add it to your home screen it will launch without the Safari chrome. Beware the first time you visit
[jQuery] Problems using one button to slideUp multiple instances at once using variables
I have a menu that when you click on a button it slides down a set of options pertaining to that click, and when you click on another one the one open slides out and the new one slides in. I can get this to work but there are about 15 menus, so writing the code 15 times for 15 buttons begins to add up in file size and slows down the smoothness of the code. I am trying to write a script that adds a variable to the menu and tells it to scroll up all menus when the button is clicked, excluding the menu
[jQuery] [mcDropdown] How can I fix the mcDropdown plugin to jQuery 1.3.1?
I using the at mcDropdown (http://www.givainc.com/labs/ mcdropdown_jquery_plugin.htm) but it don't work in jQuery 1.3.1. Firebug show me error at this line: thismenu.closeMenu(); And this is reference to: $.mcDropDownMenu = function(el, list, options){ var $self, thismenu = this(.....); And $.mcDropDownMenu has lot private function just like .closeMenu(). But the reference for thismenu = this don't call it raising a error in firebug: this.closeMenu is not a function [Break on this error]
[jQuery] Form Validation
Hello, I am using a few plugins together for AJAX forms and validation. I have validation on the name and phone fields. If you add a class of required to the fields, the validation plugin will automatically validate them. If you want to do more advanced validation you have to tell it so. I have the below code and if I don't if I fill out the form but put non integer values in the phone number field it will tell me to put a valid number. But if I click on submit a second time it will let the form
help for the jquery $.get xml in IE
I am using PHP as sever side to echo xml , as follows: test.php <?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?><messages><message>JJJJJJJJJJJJJJJJJ</message></messages>"; ?> Then the client side JS is : <script type="text/javascript"> $(document).ready(function(){ $.get("test.php",{},function(xml){ message = $("message",xml).text(); alert(message); }); }); </script> In firefox it's alert the right message . But in IE it shows nothing. Pls help..
[jQuery] A general question about troubleshooting Jquery
I'm new to Jquery, but one thing I'm having trouble with is troubleshooting my code. For example, I have a page, and things work until I perform a certain action. No errors result, inspecting the generated source shows nothing that should prevent it from working... I can't find a way to diagnose the problem. ( details here, if you want more info... http://groups.google.com/group/jquery-plugins/browse_thread/thread/fa5f62ada1ab28d6 ) What kind of testing methodology (or methodologies) should be used
[jQuery] $.Ajax giving problem in IE
Hi, i have a page on which i have used$.ajax for asynchronous call which works quite f9 in firefox but it is not working in IE .. Plz help abhishek
[jQuery] how to use onfocus event with jQuery ?
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hi all, <div> </div><div> i'm new to jQuery, how to use onfocus event with jQuery ? </div><div> </div><div> Could you give me a demo ?</div><div> </div><div> Thank you!</div><div> </div><div>Alex</div></body></html>
[jQuery] Problema with class attribute in jQuery 1.3.1
Hi everyone!! I have one checkbox named 'selectAll' that when it's clicked, it checks all checkbox below it. And these checkboxes have the same class attribute. Like this: $("#selectAll").click(function() { if ($(this).is(":checked")) $(".chkConv").each(function() { this.checked = true; }); else $(".chkConv").each(function() { this.checked = false; }); }); This used to work just fine in 1.2.6. I've tried run it in 1.3.1, but it doesn't work... just the FIRST checkbox with class attribute "chkConv"
[jQuery] Ajax Problem
hi all, I have 2 file rating.js $(document).ready(function() { var behav = function(){ $(".rating_class").hover(function(){ $("#tooltip_star").css({"visibility":"visible", "top":($ (this).offset().top - 60), "left":($(this).offset().left+$(this).width ()+ 2)}); $.ajax({ type: "POST", url: $(this).attr("href"), success: function(msg){ $("#tooltip_star").html(msg); } }); }, function(){ $("#tooltip_star").css("visibility","hidden"); }).ajaxStart(function(){ $("#tooltip_star").html("<table class=\"table_animation
[jQuery] injecting content
are there any samples of injecting content? i am familiar with hide/show of content inline, but don't grasp "injecting" content. if i have a table - can i inject a "div" between 2 rows? or do i need to "inject" a new row?
[jQuery] $("div.image")[4].show() Does NOT Work !!
This works... $("div.image").slice(4,5).show() But this does NOT $("div.image")[4].show() Seems like the [4] should work !!
[jQuery] How to decode Json value through Jquery
Hi! I am novice to Jquery. Iam getting following Json output from PHP file : {"jval":{"wine":3,"sugar":4,"lemon":22}} how can I decode/get these Json values in Jquery. Thanks in advance
[jQuery] How to wait for load() to finish executing
How can I wait for the load() function to finish before executing the next line of code? The code that I need to execute after load() is finished cannot be called within the callback function. I basically need to return true after the load has finished but not beforehand. Here's the relevant code: jQuery(this).cluetip({ cluetipClass: 'jtip', arrows: true, dropShadow: false, hoverIntent: false, sticky:
[jQuery] Jquery call works with 'alert' but no if i comment 'alert' out!
Ok so I am using amcharts and I am trying to change a setting dynamically. The following codes (when placed at the top of the document) works PERFECTLY: $(window).load(function() { alert('TEST'); document.getElementById('ip_details_graph').setParam('values.value.max', '100'); }); HOWEVER when I comment out the 'alert': $(window).load(function() { //alert('TEST'); document.getElementById('ip_details_graph').setParam('values.value.max', '100'); }); Not only does the setting change NOT
input:checked ?
hi =) i have a new problem i have searched at the doku and found this http://docs.jquery.com/Selectors/checked but this doesnt help me :/ my codes: $.post("takeedit1.php",{ visible:$("#visible").val(), banned:$("#banned").val() }, html: <input type="checkbox" name="visible" id="visible" value="1" /> <input type="checkbox" name="banned" id="banned" value="1" /> when i submit this form is $_POST["visible"]; $_POST["banned"]; 1 but when the box is not checked is it 1 too...
loadData function not loading....
It's working now, here's the proper code..... <script src="js/jquery-1.2.6.min.js" type="text/javascript"/></script> <script type="text/javascript"/> function update() { $("#notice_div").html('Loading..'); $.ajax({ type: 'GET', url: 'online2.php', timeout: 2000, success: function(data) { $("#some_div").html(data); $("#notice_div").html(''); window.setTimeout(update, 5000); }, error: function (XMLHttpRequest, textStatus, errorThrown) { $("#notice_div").html('Timeout
[jQuery] [treeview] is it possible to only expand level?
I have a tree (using the excellent treeview) plug-in, which is 2 levels deep. By default, I would like to expand level 1, while keeping everything in level 2 collapsed. Is there an option (an easy way) of specifying this? Forgive me if this has been already answered, I did try to fruitlessly search...
[jQuery] OT: CF-Talk Down?
Hi, guys... Pardon the OT, but I'm trying to find out if the CF-Talk list, which several of the jQuery list users are on, is down. I haven't gotten anything since yesterday afternoon and I noticed that the last message on houseoffusion.com was from 5pm yesterday. News? Rick
[jQuery] closure inside ajax method
Hi, How can access index i inside of "complete" method? The following gives me just the last value of i. var scripts = ['script1.js', 'script2.js']; for(var i=0; i<scripts.length; i++){ jQuery.ajax({ dataType: 'script', url: scripts[i], complete: function (XMLHttpRequest, textStatus) { debug('i = ' + i + ' complete: textStatus = ' + textStatus); } }); }
[jQuery] [Cycle Plugin] Callback
Hi all, I'm using the cycle plugin for a slideshow I'm building. With the slideshow comes a counter which shows which image it is that is currently being viewed, for example 4/11. I have a manual navigation with the slides so a link 'previous' or 'next' should be clicked to advance through the slideshow. Cycle works very well with a manual navigation since you can use 'next:' and 'prev:'. At the moment the problem is that the counter increments after a 'after: callback'. So it doesn't matter whether
[jQuery] Unsetting variables
There a function to delete variables for jquery? x = undefined; // would that work?
Next Page