Here's my HTML Table format :
<table width="580" height="217" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="334">Product</td>
<td width="246">Price</td>
</tr>
<tr>
<td>Product One</td>
<td class="price">599</td>
</tr>
<tr>
<td>Product Two</td>
<td class="price">175</td>
</tr>
<tr>
...
Is there a way to "unbind" a jQuery plugin from a jquery selector?
...
Hi All,
I saw a JQuery Shuffle Example and
I was trying to implement the same using HTML5 and Canvas + CSS + JS with images.
but finding animation/drawing using Canvas bit difficult.
I just had idea of creating as many canvas as images and then try to move the canvas
for shuffle animation.
Are there any libraries to achieve the same...
supose i have tr like this :
<tr id="file" >
<td width="510"><div align="right"><span class="star"> *</span>
<input type="text" name="title" style="width:500px;direction:ltr" />
</div></td>
<td width="156" nowrap="nowrap"><div align="right">file </div></td>
</tr>
and i ha...
I have a checkbox present inside a div. When the user clicks on the div(except the checkbox) another div is showing and hiding. This is achieved by JQuery. But my problem is when i click on the check box the div also showing the sliding effect(which i dont want). How to prevent the div from sliding when I click on the checkbox.
...
In http://www.scherer.nl/nieuw (the /nieuw part will be removed when the site is ready) the drop-down submenu's on the left should shift up their background image when hovered over, so the hovered item becomes red i.s.o. orange.
With jQuery I'm using toggleClass to add a class 'hover' to the hovered menu-item.
The CSS makes the backgroun...
Is there any way to force asp.net 3.5 menu control to open submenues(menuitems) on mouse click, not on hover.
I beleive it can be done with javascript or maybe jQuery, because when I click on menuitems postback ocures even if there is no navigation url.
I found some javascript function but it only opens root items on click, deeper item...
Hey guys. I am trying to get the selected option in an each loop. What is the correct syntax to achieve that?
I tried the following:
var row = $('#template_23423);
row.find('select[name^=COUNTY]').each(function (){
var selectedOption = $(this).children(':selected').val();
Any ideas?
...
Hi,
I've written a quick image swap class that switches images on hover by placing adding '_grey' to the image src. The code works great throughout the site in all browsers apart from ie6. The substr doesnt seem to work properly here - any advice please!?
Code as follows -
$(document).ready(function() {
var initImg;
$('img.s...
I'm currently trying to check if the response I'm getting is empty. Now what I think will work is below:
$.ajax({
type: 'GET',
url: '<%=Url.Action("FindTransaction", "Calls") %>',
data:
{ companyID: $('#CompanyDDL').val(),
storeID: storeNo,
tranDate: $('#Tr...
I have the following code which work fine:
$('.ui-selectmenu-menu a').click(function() { alert('OK'); });
However, if I replace it with:
$('.ui-selectmenu-menu a').live('click', function() { alert('OK'); });
it does not work.
What could be the reason for that ?
(In my case, $('.ui-selectmenu-menu a') elements could be removed and...
I have this page which loads quotes. It has a search form wherein if the user types in the search keyword, it will load the results via ajax. Now, if I click on the link which should load the default page with the Quotes, instead of the search results page, nothing happens.
If I am on the home/default page itself, and click on the link...
I'm looking for an easy solution to show/hide/slide (whichever is easiest) an external div elsewhere on my page at the same time my corresponding coda panel slides into view. So essentially I am trying to slide a panel into view while also sliding another panel further down on the page that is NOT in the same container.
I'm using this s...
I have a form, containing a table with rows of items for users to fill
in. I currently have it set up so that the user can add an additional
row in case they need to add more information.
This works wonderfully, but I'm wondering if there's a way to generate
a unique id for each cloned field.
My function is currently this:
functi...
Im using the following click function on an element:
$('#extras').toggle(function() {
$('div#extras').show();
$('div#extras').stop().fadeTo('fast', 1);
},
function() {
$('div#extras').stop().fadeTo('fast', 0, function() {
...
Hi everyone,
I'm having trouble with this piece of functionality I'm trying to have an accordion with tabs inside can any one help me as the second accordion tab doesn't seem to open.
http://thecarbonlist.com/test.html
Any help would be greatly appreciated.
Thank you in advance.
...
Hey guys. I have a quiz script, that has questions in different divs, they come one after another, and I want that when the last div fadesIn it would show submit button instead of a next question button.
Here's my js.
$('#questions').ready(function(){
for (i = 1; i < 100; i++) {
if ($('#question' + i).length > 0) {
...
Hi,
I am having a HTML table with many rows. I have seven columns in it. Each cell (<td>) in the table has an ID attribute with grid[x][y] with x and y representing columns and rows respectively.
Example <td>s are
<td id="grid[2][2]" class="available"...> -- This indicates 3rd column 3rd row
<td id="grid[2][4]" class="unavailable"......
I've a table containing a number of rows, where each row contains 3 td elements, the last of which is always a radio button.
I've a jquery function which is fired when any of these radio buttons is checked:
$('input[type=radio]').change(function() {
$('input[type=radio]').each(function(index) {
//remove class from...
Hey all,
I have a page with a tabbed interface. Each tab has a unique id. I've enabled links pointing to that page with the appended id after the hash, and I'm now trying to circumvent the default browser behavior that opens a URL with hash at the location of the element on the page.
So:
pageA links to pageB like this: <a
href="page...