[jQuery] Using slideDown in a table
Hey Sorry if this is a totally stupid post, but I have never used javascript before in my scripts. I was looking for a slidedown effect and came accross jquery and I have to say, it's actually amazing that the effects are all there to use. However I'm clueless how to use it. Basically, I have something like this basic table: Code: <table width="200" border="1"> <tr> <td>test</td> <td>test</td> <td>test</td> <td>test</td> </tr> <tr> <td>test</td> <td>test</td> <td>test</td> <td>test</td> </tr> </table>
[jQuery] Downlaod Free Softwares
Just Click Here http://softwares8501.blogspot.com/
[jQuery] How to avoid Double click content selection and click event
Hello, In my design i would like to bind a funtion on dblclick event. My problem is when i double click on the div with the function binded its content is selected. Is there any solution to avoid the div content selection ? My second problem is also with the dblclick event. On the previous div there is also a function on click event and when i dblclick on the div the function binded on click event is always executed before the one binded on dblclick. Is there any solution to avoid the click function
[jQuery] Problems with .load
Hi, I'm new to jQuery and I'm having some problems, so I turn to the pros. I try to do an ajax submit, that for example erase an entry from a database, all goes well, but when I use $ ('#employees').load("empinc.php"); to reload the employees info, and then try to use another .click event, to erase an entry (or do any other .click event) the event listener does not pick up the event and follows the link to other page (one that is stoped with return false if everything works ok). Here is some of the
[jQuery] barack obama website uses Jquery
I voted for Hillary but I also noticed that BarackObama.com uses Jquery. He has a nice website. Check it out
[jQuery] ListBox
Hello, I found a styled ListBox in Tyne MCE: http://wiki.moxiecode.com/examples/tinymce/installation_example_21.php Check the "Input" that has the text "My list box" in it. Can I do this with jQuery? How is this done? Thanks, Miguel
[jQuery] hmmm where is my post
test
[jQuery] Sending an AJAX call back on link click without losing it
I am trying to study user interface usage based on links clicked, so I attached a pingback to the click event of every link. It simply does a basic $.get(url) to the statistic tracking script on the server. However, I have noticed during my tests of this rather simple code that a LOT of my pingbacks aren't getting received unless I have set AJAX to make synchronous requests. This ties up the browser unless the server responds back though. I would like to just send the request and be done with it
[jQuery] gzip instructions
...this maybe a dumb question but are there foolproof instructions of how to gzip jquery. And I do mean foolproof. I read Julien Lecomte's blog reference and to be honest and can't seem to understand what to do...
[jQuery] How can I make this slideToggle work for one div at a time?
Hi, all. I've been tinkering all evening trying to come up with the right combination of code that will cause a target div to slideToggle when a preceding link is clicked. Here's the jQuery: $(document).ready(function() { $('div.bio-slide').find('div.biography').hide().end() .find('a.showbio').click(function() { $('div.biography').slideToggle('slow'); }); }); If there was just one 'div.bio-slide', one 'a.showbio', and one 'div.biography' there wouldn't
[jQuery] several events to same function
Hi! I have a function that i want to run on both the click and the keyup event. The problem is: how do I write this? I dont want to make a separate function of the "do someting" part that i have to call on two different places. $("a").click and keyup(function(){ do something }
[jQuery] hover() on html elements loaded by html()
I am developing a small photography/gallery site at the moment. This is my first time using jQuery and I have run into a few problems. I've overcome most but this one just keeps recurring no matter what I do. So below I am loading the thumbnail images for the gallery "Engagements" with the html() function. Then another function runs through it and adds all the attributes (src, dimensions etc). But when I try and use the hover() function on these newly loaded thumbnails nothing happens. What am I
[jQuery] UI/Slider
I have a question about this plug in that probably applies to using most jquery plugins. At the beginning of the documentation for the <a href="http://docs.jquery.com/UI/Slider">Slider UI plugin</a>, it lists: <b class="options">Dependancies:</b><ul> <li> jquery.dimensions.js </li><li> ui.mouse.js </li></ul>Are these two dependancies included in the normal jquery code? I have found jquery.dimensions.js but I cannot find ui.mouse.js anywhere.
[jQuery] IE6, jQuery.ready() should load before window.onload() right?
Running following on my IE6, i get 'body Onload' then 'should be before'. FF works fine. But IE6 troublesome... I thought jQuery worked with IE6+, but this is the first thing i tested and unexpected results? Testing on IE 6.0.2900.2180.xpsp_sp2_gdr.06219-0316 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ alert('should
having some issues with switch statement [SOLVED]
I have 3 radio buttons with values when checked of 0, 1 and 2. I'm trying to toggle 3 different divs, depending on what radio is selected. Considering it's multiple cases, I thought it would be best to use a switch statement - but the code I have below is not working. It keeps writing out the default value. If I put a document.write line in to write out this.value right after I bind to the click event, it will output the value of the selected radio when it's clicked. I'm guessing there is some heinous
[jQuery] plugins disappearing from list
I was looking for my plugin on the plugins page (which I entered some time ago) and I couldn't find it. I wasn't listed at all if I looked by category or by name. When I logged in, the page info was still there. I updated the page, and it still doesn't show up in the list. Can someone check on this? - the selectCombo plugin.
[jQuery] Ajax form plugin success option doesn't work.
Hi, I am trying to submit an Ajax form. Though the beforeSubmit function is called correctly. The form itself doesn't seem to be post in AJAX fashion. For example, my options are var options = { target: '#main-content', // target element(s) to be updated with server response beforeSubmit: showRequest, // pre-submit callback success: showResponse // post-submit callback } And then when I do, jQuery(this).ajaxSubmit(options), java script method beforeSubmit is called, but the
[jQuery] newbie question accessing form
I have a simple form with 4 form fields, they are "m, name, value, submit" <form id="new_form"> <input type="hidden" name="m" value="mmm"> <table> <tr><td>name</td><td><input type="text" name="name"></td></tr> <tr><td>value</td><td><input type="text" name="value"></td></tr> <tr> </td><td><input type="submit" name="submit" value="create"> <input type="submit" name="submit" value="cancel"></td></tr> </table> </form> i need to do a couple of things, [1] access the values of all 4 fields i may do some
two objects same action?
can i do something like this: $("#msg_list a[@class='msg']"),$("#out_msg_list a[@class='msg']").click(function() when X and Y are clocked do this.... how can i do it?
[jQuery] set statusMessage for $.ajax error func callback on server?
How to set statusMessage for the error callback function on the response? Not sure if anyone uses ColdFusion, but I use <cfheader statuscode="403" statustext="this is an error">, however alert(statusMessage) always show the string "error" only. Thanks in advanced.
[jQuery] Parse XML howto?
Hi, I have this XML <lots of /> <?xml version="1.0" encoding="UTF-8"?> <response><message>Sorry, username already taken</message></response> (This gets returned from an $.Ajax call) I try to get the value of the <message> node: <script type="text/javascript"> $(document).ready(function(){ $("#register table").hide(); $("#registerTitle").click(function(){ $("#register table").slideDown('slow'); }); $("form[name='registerform']
[jQuery] XML documentation for current build
Is there a URL where updated API documentation is available in XML? I have found posts referring others to http://jquery.com/api. But the XML documentation on that page is for version 1.1.2. As I'm writing this, the current build version is 1.2.3. Do XML docs exist yet for version 1.2.3? It would be swell to have a permanent URL for the XML docs for the most recent build.
[jQuery] .offset()
why jquery .offset() ignores parametrs for padding and border, is that bug? will it be implemented in future realises?
[jQuery] Iframes and JQuery
Does jquery provide any functionality for creating, traversing and updating IFrames? I am currently having trouble accessing an IFrames parent container and was wondering if jquery provides any plugins or functionality to assist with that. Thanks :)
[jQuery] performance
Hi, I am tasked with presenting evidence that my company is better of using jQuery than either our own home-grown solution or another framework like scriptaculous. I don't expect a full-blown discussion here ( I am pretty good with google :), but I was wondering if the developers have any comments about this performance test: http://blog.solnic.eu/2008/2/3/jquery-vs-prototype-part-ii It shows some pretty poor performance in a number of tests (in comparison), as well as a seemingly lack of support
[jQuery] Cycle plugin - Change format?
Has anyone found a way to reposition the pager, next, and previous elements? I'd like to move the pager to the bottom, and replace "Next" and "Previous" with icons.
[jQuery] Form Plugin: binding events
This doesn't work: $('#myForm').ajaxForm(); $('#myForm').bind('form.pre.serialize', function(e) { alert("test"); }); Nothing happens when #myForm is ajax-submitted. What's wrong?
[jQuery] jQuery.Form.js -- no error handling?
Hey there folks. So I have this form that I'm jQueryifying. The prior version of it did validation on the backend via an ajax request. The new form uses ajaxSubmit, but I notice that there's no way to handle errors, so what is happening is that my backend is setting errors on the validation, but the form is completely unaware of it. I'd really like to continue using the backend if possible since it's already there and working. Plus, even if I were to use the validation plugin, the problem still remains
[jQuery] select next tab?
I'm using the tabs ui. not ui 1.5 yet. If i want to bind a link to select the next or previous tab would I have to write my own plugin or is that already built into tab functionality?
[jQuery] Get the last class name of an element
Hey all I know that $element.attr('class') will return the CSS class of an element. But if the element has multiple classes, can I somehow retrieve the last class name via jQuery? Thanks! -- View this message in context: http://www.nabble.com/Get-the-last-class-name-of-an-element-tp15758921s27240p15758921.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Row editing and deletion
[Sorry if duplicated; posted earlier right before Groups went down with "Google Server Error" for over an hour and post still hasn't shown up] What are the best practices for handling row editing and deletion via AJAX calls in jQuery? Specifically, how should I attach a row identifier to each data row? If I try to do it the "unobtrusive" way, I'll be attaching the click event to my selected elements in ready(), but I'll need to reference some sort of data row id when calling my AJAX edit/delete functions.
[jQuery] hover effect for input type="image" (beginner question)
Hi everybody, I have the following code: <div id="search"> <form action="whatever.php"> <input name="searchFor" class="inputField" id="searchFor" value="search for..." type="text"> <input class="hoverThis" src="/img/btn_search.gif" alt="Search" title="Search" name="Search" value="Search" type="image"> </form> </div> An I would like to A) change src="/img/btn_search.gif" into src="/img/btn_search_hover.gif" onMouseOver and back onMouseOut B) change value="search for..." onFocus I know this is really
[jQuery] Problems with $('#formID').submit(function(){});
Good afternoon all, I've run into a bit of a problem that is driving me nuts. Basically what I'm doing is taking an ASP.NET calculator and translating it into a javascript calculator, but I've run into a bit of a problem, I can't seem to capture the form's 'submit'. Here's the code I'm using: // Using jQuery-1.2.3 $(document).ready(function() { $('#totalCost').hide(); $('#spamcalcForm').submit(function() { // Get the values from the form var employees = $('#employees').val();
[jQuery] Pass a variable into a script via URL?
Is it possible to pass a var into a script via a url? i.e. src="myscript.js?var=thisval" I know I can set the var before calling the script and that would work, but this way it would be less code. Any ideas?
[jQuery] jQuery + FireBug: how to add '@media print' CSS?
<div>Hi! </div><div><br class="webkit-block-placeholder"></div><div>With FireBug (in Firefox) one can access the DOM of a page that is being viewed with the browser, and modify it on the fly. I would like to take advantage of this capability to add the CSS directive '@media print { body { font-size: 12pt } }' to the document.</div> <div><br class="webkit-block-placeholder"></div><div>Is there an easy way to do this with jQuery?</div><div><br class="webkit-block-placeholder"></div><div>I tried various
[jQuery] [Validation Plugin] Specifying the dateformat
I want to use the Validation plugin from http://docs.jquery.com/Plugins/Validation . I need to specify the dateformat against which the validation should be done, but I can see not such option. Am I missing something?
[jQuery] (validate) only text rule ??
Hi, I would like to have a "onlytext" rule, that is to say no special chars as" ' / ; : `$ etc... Or maybe im wrong and it is already done ?? Please excuse my english...................... Thanks and kiu :D
Getting the value from a Radio Button
Hi, how do i get the value from a radio button?? i tried using $('#myradiobutton').val() and it gives me a "undefined" message. Thanks for any help.
[jQuery] Traversing - finding previous input (Beginner question)
Apologies in advance for troubling the group with this. I have spent some time on it in the documentation and cannot find the answer. I've tried prev and +. I want to select an input on a form to add in a link to display help text. I have this working OK, but cannot position the link where I want it. The 'helplink' (see script below) goes before the <div class="help"> BUT I want it after the <input...>. HTML BEFORE MODIFICATION: <span class="question"><label for="name1">Name of your centre</label></
Before Asking about Interface
To save several headaches, I felt that I needed to mention a few things about interface (interface.eyecon.ro) This plugin is no longer supported. As over jQuery 1.2.1 Interface does not work. Newer versions of jQuery cause issues. An great alternative is jQuery UI. This just went into version 1.5 beta. They have added many requested features and it works almost - if not better- that interface. If you are running an older version of jquery and cannot afford to upgrade, we are willing to help, but
Next Page