I have a table with the following rows
<table>
<tr>
<td><div>Suresh</div></td>
<td><div>Ramesh</div></td>
<td><div>Sachin</div></td>
</tr>
<tr>
<td><div>Rahul</div></td>
<td><div>Shiv</div></td>
<...
I'm a webdesigner that's trying to get the hang of JavaScript and jQuery, and I want to learn how to write shorter, more concise code - to avoid being ridiculed by the developers at work ;)
I have this snippet:
// toggle divs when checkbox is checked
$('.product-optional-checkbox1').click(function () {
$('.product-optional-toggle1'...
Hi,
I have created a simple JQuery script that loops through an array of urls and opens multiple windows.
This is working fine on the majority of platforms.
However, in IE7 and IE8 on a client's machine the browser is only opening a single window. No javascript errors are present.
I have the same versions on my laptop and it works fi...
i am using jquery drop down menu and under the menu i am using flash banner, i am using flash with swfobject_2_2
my code is like this
<ul id="jsddm">
<li><a href="index.html">Home</a></li>
<li><a href="profile.html">Profile</a></li>
<li><a href="#">products</a>
<ul><li><a href="1.html">product 1</a></li>
<li><a href="2.html">p...
Hay guys, I'm using the solution found over at http://stackoverflow.com/questions/355638/jquery-toggle-event-is-messing-with-checkbox-value to fire an evert on a checkbox. IE however seems to have a bug, my event isn't being called until i click anywhere on the document.
any ideas?
sample code...
$(".selector").change(function(){
...
Hi does anyone know an effective jquery fix that does something like the sidebar effect on this website. I suppose its like an easing expandable effect?
http://wordpress.digitalnature.ro/mystique/
Thanks judi
...
Hi
I have a menu made using jquery.I want that when i click on particular parent only child under that parent shud expand all other child under other parent shud get hide.
I have got parent id so based on that i can expand a particular parent.
My code is as follows.
<script>
$(document).ready(function(){
var msg1;
var msg14;
var ms...
I use the great tablesorter plugin. I need to be able to execute something BEFORE and AFTER the execution of the sort click
How do you ADD a before and after callback method to a plugin that dont have it
...
I have a HTML page where I want one button to increase the font size and the same button to decrease the font size when clicked.
I am using jQuery like so:
$("p").css("font-size","20")
However, when I do that the font size increases for maybe 2 seconds and then goes back to normal. It appears that the page is refreshing after I click...
I recently switched to jQuery using jRails for an app. 99% of all my previous RJS seems to work perfectly, the only except is the :loading => callback when using the remote_form_tag.
<% form_remote_tag :url => '/hostels/update_currency', :loading => visual_effect(:appear, :load_currency), :html => { :id => 'currency' } do %>
I have ...
I am having trouble with IE6 on the front page of a website.
The code should start an image carousel, with the following statement.
$("#carousel").infiniteCarousel();
But i get an error in IE6 (invalid argument), and it seems that IE6 keeps on loading an image file, which is visible in the browser.
When i uncomment the line, the err...
Okay, i can't post all the code to this because it's just unnecessary. But here's the problem.
I have a tabbed dialogue (ui.tabs) which contains an uploadify form for uploading files. However on an earlier tab I check the status of a radiobutton to determine whether to allow only image files or flash files.
I have initialized uploadify...
Hi!
Some drop down lists on my project have so many options that I'm changing those to input texts with an autocomplete function (using jquery autocomplete plugin).
But, in drop down lists I can use a change event and use its value to fire an ajax function, for example. But, with an autocomplete, I don't know how to do that and I want ...
i need script in jquery / javascript that make the specific site as the homepage in the browser,
i need it compatible for all browsers , if that possible .
i dont mean it should be done automatically ,
thanks.
...
I tried with something like this:
var Height = $(this).naturalHeight;
But it doesn't work. Is there any way to do that
greez
...
I just starting using jRails and the jRails auto_complete helper
http://github.com/evilmarty/jrails_auto_complete
I was using the default auto_complete helper before using prototype and the drop in worked fine with jRails except for hovering over the results of the autocomplete. If you use simple text for the result, it works as adver...
Is there any tutorial of how to use DataTables plugin with asp.net mvc(especially server side code)? Thanks
...
Hi I would like to do dom selection and manipulation out of the dom.
The goal is to build my widget out of the dom and to insert it in the dom only once it is ready.
My issue is that getElementById is not supported on a document fragment. I also tried createElement and cloneNode, but it does not work either.
I am trying to do that in ...
Hello,
Im using the JQuery autocomplete plugin (http://docs.jquery.com/Plugins/Autocomplete) .I have an input field called by in my page.The following code works.
<script>
$(document).ready(function(){
somedata = "Core Selectors Attributes Traversing Manipulation CSS Events Exciting Electronic Effects Ajax Utilities".split(" ");...
We have a form with five <input type="file"/> elements that is in production and working great. We get request timeouts and MaxRequestLength exceeded errors on occasion. To prevent these errors, I planned to write some Javascript to upload the files one-at-a-time instead of all at once. Here is how I planned on doing this...
On docu...