I can add and remove the last line in my dynamic form and calculate the sum of the unit prices but the calculateSumNoTax() function seems to only be fired bu the first line which is output by php, every other line appended to the dom via jquery dont fire calculateSumNoTax();
What am I doing wrong here ?
JS :
$(document).ready(functio...
<div class="SubMenu"><ul><li><a href="#">One</a></li><li><a href="#">Two</a></li><li><a href="#">Three</a></li></ul></div>
Now I wanted to fire a function when i click on div which has class "SubMenu" but the problem is i wanted to see if i have clicked there, i do not want to do like $(.'SubMenu').hide() instead i wanted to check that...
I have this code to run a slideshow (this is only part of what really going in my code)
var slideshow = {
delay: 5000,
actions:[],
run: function() {
if (slideshow.actions.length) {
slideshow.actions.shift()();
setTimeout(slideshow.run, slideshow.dela...
Ok, I'm trying to use the FaceBox() plugin for jQuery along with the jQuery UI datepicker().
I've got it to bind to the lightbox'd inputs on the first appearance of the lightbox, but it's not working afterwards.
I'm doing the following:
$(function() {
$('.jQueryCalendar').live('click', function () {
$(this).datepicker...
I'm new to JQuery and I was wondering how can I get the following code to work when I navigate from the home page to the page that uses this code instead of placing this code directly into the web page? I want to place this code via a script link instead of placing the code itself in the web page.
I hope I explained this correctly.
Her...
i'm getting dialogue box (Operation aborted)
What is the problem in this code?
<script type="text/javascript">
$(document).ready(function() {
$('.demo').popupWindow({
centerScreen:'1'
});
});
</script>
...
Let's say I have this url: www.example.com/test.php?page=4
How do i retrieve the value of $_GET['page'] with jQuery? o_O
...
I have one div that contains a bunch of draggable div objects. This main container is called "floater" and will scroll down the screen in relation to mouse scroll.
I also have a div called validtargets, which is populated with a table providing a grid appearance in the background.
The draggable objects are given the snap: 'td' tag so ...
Hello,
I am trying to create a menu panel in jquery, all is complete except for one problem. When I hover over a link, it shows a black panel, i want to be able to hide that panel only when mouse is out of that black panel area. Currently it fades out even if i am inside that black box.
Here is the script you can see the preview of by ...
I have the following function that loads "mypage.htm" into "#flowplayer-content".
This works
$('.small-images a').bind("click", function(event) {
var uri = "mypage.htm";
$("#flowplayer-content").load(uri, null, function(responseText, textStatus, XMLHttpRequest) {
});
event.preventDefault();
});
"mypage.htm" contai...
hi,
i'm having a textbox and assigned the following function (it's the only function assigned):
txt.bind("keyup",function(event){
if(event.keyCode==13)
{
var nu = $("#debug").html();
nu+="<br>enter";
$("#debug").html(nu);
}
});
the strange thing is that it's actually firing twice, thus displaying "...
Hi all. To boil it down, I have two pages. Simplified, they could be represented this way.
Page 1
<html>
<a href="page-2.html#section-A">Link to section A</a>
</html>
Page 2
<html>
<script>
// Assume jQuery
$(document).ready(function(){
$('#wrapper').append($('<a name="section-A">Here is S...
In my asp.net application i need to integrate a jquery content slider with next, previous buttons.
2.Please look at the snap shot given below.
...
I have found http://stackoverflow.com/questions/734554/jquery-fadeout-then-slideup and it's good, but it's not the one.
How can I fadeOut() and slideUp() at the same time? I tried two separate setTimeout() calls with the same delay but the slideUp() happened as soon as the page loaded.
Has anyone done this?
Thanks
...
Let's say that i have a variable questionId which is an integer, and i want to find tr elements that have the fragment ("question_"+questionId) in their id. How can i do this? I thought that i would be able to do it with the jquery 'attribute contains' selector.
Eg, this works, for a non-dynamic value,
$("tr[id*='quiz_question_7674...
Hello everybody.
I am setting up a own made wysiwyg plugin for jQuery. He is almost finished but know i want to add a keyup event to a iframe with designmode on. But i can't get it worked. I tryied almost everything a found on the internet. The class of the wysiwyg iframe with designmode is .dhwysiwyg. I though the next code will work:
...
Hello all,
I'm working with jQuery UI and the dialog plugin. I have a Manager Response form that appears in the dialog box that appears when a user clicks on a certain link. What happens is I acquire the ID for that response, do some processing and send back the view that I insert in to a for the dialog box. It works fine the first ...
Hi all,
How can I delete a row from a table which it has been created with a delete button before?
I need to add an event to btnDeleteOther to delete the current row selected.
I would also need to know how to change id for each textbox created, and populate the value of the textbox with the variable coming to the function(but I guess I...
Hi,
I have Bassistance's version of the JQuery autocomplete plugin set up to query my database of courses.
In the database I have (amongst many others) the following courses:
1) Yoga for All - Hatha Raja Introduction
2) Yoga - Iyengar Style. Beginners & Intermediate
3) Yoga - Iyengar. Improvers
4) Yoga - Iyengar. Beginners
5) Yoga...
hi,
I want to execute a function on an event on any element but one:
$(":not('#myelement')").bind('mousedown', function() {
console.log('mousedown event');
});
but when I click #myelement, the function is executed anyway, because the selector select all the parents. Moreover, the function is executed for every parent.
How can I:
...