I have a table of data and have one checkbox per row for the user to select the item.
I'm using the following jQuery code to allow the user to select the item by clicking anywhere in the row:
$("tbody tr").click(function() {
var checkbox = $(this).find(':checkbox');
checkbox.attr('checked', !checkbox.attr('checked'));
});
The...
Hi,
I have a problem with JQuery Context Menu ( link text ) and iframe.
If i use it inside, the context menu is naturaly shown inside. But it will be partialy shown.
I am searching how to resolve it.
Please note that the context menu only appear when i click on specific iframe's elements.
thanks :)
...
I have a search form with inputs and selects, and when any input/select is changed i run some js and then make an ajax query with jquery. I want to stop the user from making further changes to the form while the request is in progress, as at the moment they can initiate several remote searches at once, effectively causing a race between...
Hi all,
I'm creating a page that loads content from other pages using jQuery like this:
$('#newPage').load('example.html' + ' #pageContent', function() {
loadComplete();
});
That all works fine.
Now what I want to do is change the background image of the current page to the background image of the page I'm loading from....
I've done a good amount of research on this and found a bunch of reported problems and solutions but the general consensus seems that all change problems in IE6 were fixed in jQuery 1.4.2.
I'm having an issue where a change event is not firing in jQuery 1.4.2, but it did fire successfully in jQuery 1.3.2. This is in IE6.
I'm about to s...
I have seen how to add google calendar, but when I run it, it create's a new calendar, even though the selector I am using, refer's to an existing calendar.
$calendar.fullCalendar({
events: $.fullCalendar.gcalFeed($feed_url.val())
});
I have other functions, that use renderEvents, but I am not sure how to use that ...
I have a string containing HTML loaded from another page, how do I extract the background property from it's body tag using Javascript?
The body tag in the string looks like this:
<body onload='init();' background='storage/images/jsb_background.jpg' link='#000000' vlink='#000000' alink='#000000' leftmargin='0' topmargin='0' marginwidth...
I want to preload images but ensure they are loaded before continuing. How can I do this?
The following does not work as it sends off the load request only, but doesn't wait till the image is loaded. So it is possible that the image isn't loaded when requested soon after.
jQuery.preloadImages = function () {
for (var i = 0; i <...
how to set one checkbox from asp.net checkboxlist control to unchecked where the index of the selected check box is i using jquery.
...
I have a list of items
<div id="item1">somestuff</div>
<div id="item2">somestuff</div>
<div id="item3">somestuff</div>
When someone clicks on one of these, I need to take some actions based on the id (the number). Let's say hide it.
How can I make the function generic, and how can I pass the id into the function?
$(document).ready(f...
Can i user jquery to show / hide a specific div on another page?
i.e. i have Content.aspx that shows content for different plans we offer.
on detail.asp i have a more detailed page that hase unique divs.
<div id="detail-a">
detailed content here for product A.
</div>
<div id="detail-b">
detailed content here for product B.
...
Hi Everyone,
I have been working within another question on this site and have almost completed what I need to accomplish. I have 30 divs that slide in and out on an interval. What I am trying to achieve is that when an anchor within each of these divs is clicked it should stop the rotation.
In the other question page it has been sugge...
Hello guys,
I'm trying to implement Simplemodal on my website. Simple text boxes are really easy to do, but I can't find a way to have another page showing through AJAX. I know very little about Jquery and there is no documentation on how to do it, so could somebody help me? Thanks.
This is the default code of a Simple Modal box:
jQue...
Greetings,
how to get the selectedindex of check box from checkboxlist control using jquery?
Update:
This code is giving me selected index equal 0 please advive
<asp:CheckBoxList ID="chkListGroups" runat="server"
style="position:absolute; top: 1115px; left: 745px; bottom: 371px;"
DataSourceID...
I need if JS is enabled then this link will be this
<a href="#" class="collops">see sitemap</a>
And is js is disabled then link should be this
<a href="http://stackoverflow.com" class="collops">see sitemap</a>
...
Hi there,
I'm playing with jQModal plugin and trying to display its window right after the page is loaded. I used this code in $(document).ready(function():
$('#letak').jqm({
overlay: 70,
autofire: true
});
autofire setting should do the trick but unfortunately it doesn't work. Works perfectly fine when I click at trigger lin...
I have the following function that when I call displays a message to the user for a certain amount of time (5 secs in my case). During this "period" if I call the function again to display another message, practically it should hide, then re-appear with the new message for another 5 seconds.
What happens with my code below, I call the f...
I'm using jQuery Thickbox to display an iframe (upload.aspx) that allows a user to upload a file. In the code behind for the upload.aspx I finish by sending:
Response.Redirect("blah.aspx");
The page I redirect to is dynamic based on the results of the upload process. When this redirect happens, it happens inside the Thickbox and not...
I'm using jquery-1.4.2.min.js and jquery-ui-1.8.1.custom.min.js. According to Firebug, both minimized scripts have been loaded. They both appear in the dropdown list on Firebug's Scripts tab.
The dialog is launching, but there's no background and so the text below it shows through, and there's no "window" stuff at all, no titlebar, no ...
I have a page that I am trying to dynamically add some links to. The links are getting added to the page fine, but the '[' and ']' at either end of the line are getting dropped. The code from my .js file is:
var html = "[ <a href='#'>Change</a> | <a href='#'>Remove </a> ]";
$(html).appendTo("#id123");
The result I want is:
...