Working on the same page as before,but now I'm using it as a playground for messing around with jQuery so I can learn it for my'boss.' Unfortunately, I can't get the javascript in this file to execute, let alone give me a warning. All of the PHP and HTML on the page work perfectly, it's just the script that's the issue. What am I doing w...
Hey,
I have a set of functions, and I want to do something, like show a loading animation, while these functions are running! and when they stop i want to show an alert, for example.
All this on jQuery.
Anyone has a tip?
Some abstract code:
//these are my functions:
function a(number){number=number*2};
a(1); a(2); a(3);
//While this ...
Hi,
I have this multiple select:
<select id="sel_dest" name="dest_var[]" multiple disabled="disabled" size="10">
<option value="" selected>Destinatario</option>
<option value="1"> .........
</select>
how can i validate (required field) this select with jquery validation plugin?
this code doesn't work:
$("#register_form").validate({...
<input name="mybutton" type="button" class="agh" id="id_button" value="Dim" onClick="resetDims();">
In the above Input tag i have to remove the entire "Onclick=myfunction();" and its function for the input tag and write my functionality for this button when we "click"
$("#mybutton").onclick(function(){
//$("#mybutton").removeattr("...
Hello there,
I've got a big JavaScript object literal I am reusing with very few modifications each time. It would be good to make a variable containing most of the object, then reference that each time I need it.
But how can I do that? I tried to do this, but it didn't work:
var settings = {
legend: {
enabled:false
},
yAxis: {
...
Hi,
Does anybody know how to make a jqGrid resizable? I want that sweet little handle in the down right corner.
...
A few days ago I asked here about how to add src attribute to iframe using jQuery. I actually got a code but it's not working. I have just started studying jQuery so maybe, I thought, there was something I missed. Now I got a code that's working, but the problem is when I close the lightbox, the video on the iframe continues streaming......
Hello friends..
I am looking for Jquery SpellChecker Plug in if any body knows where I can find SpellCheker.js file please help me out..
thanks
...
Hey guys,
Let me know if I'm not explaining this well enough as I'm confusing myself just thinking about it.
I was to be able to click on a button that says "add product" and have it create a unique div each time. For example, the first div would have the id #product1, then #product2 etc.
The really tricky part is to have two input fie...
Hi guys,
The functionality I plan on doing is to insert some form elements depending on a number chosen from a select tag.
I have a select tag called for number_of_passengers, and i plan to dynamically append new passenger fields for the number chosen. Say I select 2 from number_of_passengers, then 2 forms should appear in a fieldset. ...
Hi I am new to JQuery.
I have a link
<a>href="http://www.ittesters.com></a>
I would like to be able to append the following to the end of the href
?iframe=true&width=70%&height=85%
I also need to insert an attribute
rel="prettyPhoto[iframes]
I would like this to happen when the user clicks the link not on page load.
I...
html-
<img id="storyimg" src="images/stor.jpg" alt="img" />
<ul class="sb_menu">
<li><a href="linkpage.htm" class="newslink1">Wireless Networking at Fortune Inn, Noida</a></li>
<li><a href="linkpage.htm" class="newslink2">18th International Conference on Oral & Maxill...
The custom_value of place_id is set to whichever row I click first. Subsequent clicked rows will all use that same value, regardless of their actual value. Why?
example:
place_id foo_name bar_value
10 blah abc
11 blah2 fgr
click the row with the place_id of 10 and click "edit" and the form that appears will...
Is it possible to modify the clone helper that jQueryUI creates with draggable element? I don't want the exact clone as the helper, I just want something similar to it.
...
This is a bit of a weird desire but I am making a matching game using jQuery UI, and I want to allow a user to drag an element from one <ul> of jQuery draggables (list A) and then drop it in a jQuery droppable (list B). After the user has decided that they think every item from list A is in the correct place in list B, they can click a b...
Hi guys. I'm kinda new to jquery and I have created an hide/show animation for a page, what this animation does is when you hover on the link "Call us" it shows a phone (1800blabla) but now I've been asked that the phone number should have a delay before it hides back again. I will appreciate any help. Please find the code below.
HTML
...
I have this code that works great in all browsers but not IE6, and I have no idea why, can anyone shed any light on this?
$("#handle").toggle(
function () {
$('#login').animate({
marginTop: '0',
}, 1000);
$("#handle").addClass('opened');
return false;
},
function () {
...
I have a CFC that cycles through a folder and deletes any files in said folder, sort of a 'clean-up' function after an image is uploaded and saved. In that same CFC I have a function that updates text in a database. Bot functions are fired through a jQuery post. The text function returns some a confirmation to my jQuery function, no prob...
Hello every one. I am using jQuery validate plugin and i want to make sure that end date is greater than start date. Is it possible to check this using jQuery validate plugin. Can anyone please help me on this. Your help would be very much appreciated.
Thanks.
...
I have read a lot of jQuery cookie questions on here and know there is a jQuery cookie plugin (jQuery cookie). Without doing much investigation, the question: is there a way to determine expiration date of cookie?
From the jquery.cookie doc:
/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
*...