On my webpage I am displaying a table of data and I want to give the user the ability to sort that data by using a dropdownlist (e.g. By FirstName, By LastName, By State etc...).
I would like to use Ajax to load the sorted data into the data table without a page refresh. I'd also like to use javascript in an unobtrusive way so that the ...
I have five html pages ,all pages have same search tab,header,footer, my question is when enter particular searchtext and click search only the content place where the output will be displayed has to be changed in the html pages without change in header and footer.
I am using html ,javascript,jquery on clientside and webservices with ...
<table class="data" border="1">
<tbody>
<tr>
</tr>
<td><input type="checkbox" /></td>
<tr>
<td><input type="checkbox" /></td>
</tr>
<tr>
<td><input type="checkbox" /></td>
</tr>
</tbody>
</table>
While iterating through each tr element...
Hi I have to set two address at a time in google map. User provides these two address. after submitting I have to show these two address on map. amy body knows the script. Please help me.
...
Hello All,
Is there a way to add a callback function to Jquery Media Player so that an alert (for example) displays once the movie/video has ended??
Cheers
...
Hey everybody,
There is a strange bug which I can't solve.
The bug is reproducable by this simplified example:
css:
table.class1 td.subclass1{ display : none }
table.class2 td.subclass2{ display : none }
html:
<table class="class1">
<tr>
<td class="subclass1"> Invisible </td>
<td class="subclass2"> Visible </td>
</tr>
</tabl...
how to download a jquery-ui file without **.min.js
thanks
...
I would like to load an overlay image or something when a long time form submit process is working. So that no one can click, any other links in the page during the process, and at the same time show a loading image over the overlay image...how can i make this work with jquery..
...
I would like to add a class called 'focused' to a parent li when I click a input field with jquery.
<form action="http://localhost/daikon2/index.php/projects/admin/newproject" method="post"><ul id="createproject">
<li id="proname" class="">
<label for='project_name'>Project Name</label>
<div><input type="text" name="project_name" value=...
Assuming there is a mousestop event attached to the entire document, what is the best way to figure out the exact word under the cursor (if there is any text), when the mouse stops moving?
I can get the underlying (jQuery) element from the event handler - $(document.elementFromPoint(e.clientX, e.clientY)) - but then what is next?
So fa...
On a single page, I have two tables. Each of them has a class of "data". Each of them has theads.
I want to apply formatting to the last row in each of the table's theads.
I originally had this:
$('table.data thead tr:last').children().addClass('col');
Which works fine if there is only one table on the page. But if there are multipl...
this is the code:
$("#draggable").draggable({
helper: 'clone'
});
use this code , if you drag the div , you will drag the clone ,
this is my code without using jquery and jquery-ui,i want to drag the clone-one when i drag the div:
var $=function(str){
var div=document.createElement('div')
div.innerHTML=str;
return di...
Im using [drupal_add_js_()][1] function to add a fancybox effect to some image in my nodes (im not using the Fancybox module becose doesnt fit my needs).
In short, i need to add the titleFormat function to format the image title; In my javascript file, it looks like:
$("a[rel=myfancy_group]").fancybox({
'transitionIn': 'elastic',
...
Greetings,
I need to remove tags (about 1000) within an XML file. I tried it with jquery, but with no success:
<html>
<!--jquery app removes specific <t2_patch ...>-tag -->
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<button>Kill t2_patch-tags </button>
<script>
$("button").clic...
Hi,
I am running VS2008 SP1. I have jquery-1.4.2.js and jquery-1.4.2-vsdoc.js files with me. But I am still getting error: "Object doesn't support this property or method @ 862:1" The thing is that I was unable to install the update patch "VS90SP1-KB958502-x86" as I am running 64 bit and when I try to run the patch I get "...not valid w...
I wish to execute a jquery based ajax form submission on pressing the enter key. Obviously this involves stopping the normal form submission process. My form consists of a single input field. Here is the code:
<script type="text/javascript">
$(document).ready(function() {
// add vid ajax
$.ajaxSetup({
cache:false;
...
I need to see if there is a current watermark set for an input field but i am not sure if there is a getter for this watermark plugin. I know i can set a watermark like this
$("#request_money").Watermark("Not now");
I tried this but it doesnt seem to be setting the value
if($("#request_money").val() == "Not now"){
$("#request_mone...
EDIT: rewrote this to be html only
In the following code, why is the jquery dialog that's displayed not centered? The dialog is opened by clicking the "test" button on the page.
<html>
<head>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ui/jquery.ui.core.js"></script>
...
I have this javascript which uploads a selected file via the iframe. I need to be able to determine from the iframe whether the file was successfully uploaded or not. The problem is that it could be 3 seconds to upload the file or 30 seconds. The best method I can think of to trigger a function when the upload completes from within th...
Hi,
I'm calling several ajax search services with jQuery and would like to trigger a function that merges the results when all the calls are finished (some kind of callback function waiting for all callbacks to have returned). What's the best method to achieve that?
thanks
jul
...