I am having some trouble with jQuery UI's datepicker script and am hoping someone here may be able to help.
I need to be able to dynamically create the elements that require the datepicker plugin, then destroy them, then re-create them. (I make heavy use of jTemplates for this.)
Unfortunately, datepicker only appears to work the first...
function detailed_link(cell_rowid) {
var $tabs = $('#infrTab').tabs();
$tabs.tabs('select', 1); // switch to third tab~
objRowData = $('#' + pageGridId).getRowData(cell_rowid);
//document.getElementById("Name").value = objRowData.amount;
loadPage('Infringement/TaskDetail', 'taskDetails'); /* Path ...
Sorry for my English.
A friend of mine asked me to help him to build a HTML page. I just know a little bit of CSS, and know absolutely nothing about JavaScript or jQuery. All the code I wrote was from Google.
You can get what I really want in the picture, and I just finish the first step, the rollover animation works now, you can downl...
$(this.dom.full).draggable({
containment: '#gib1',
disabled: false,
stop: function(event2, ui) {
cancelFollow = true;
return false;
}
});
I have made my div draggable but, it gets disable after one movement. Please help.
Regrads
rahul
...
I am using jquery datepicker and timepicker.Clicking on date and time it assigns the value to the respective textbox.But I want to do clientside validation like the selected date should be the greater than the current date and selected time should be greater than the current time.Can any one help me how to do this.
...
Something I am playing with at the moment is a Rest / HTML page that dynamically updates via JSON calls.
Now in the case that I want this to run on as low a bandwidth as possible.
So if the server is shut down, then booted up again I want the updates to continue again in most cases this works some cases parts of the javascript won't wo...
jQuery $.ajax() does not seem to work correctly with IE8 but it is working with Firefox, Chrome and Safari. I am submittin the form and response back in JSON format.
Here is my code:
test.php:
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript" src="jsFile.js"></script>
<form action='_test.ph...
How to select all values in drop down list by clicking a button using jQuery in JavaScript?
Thanks in advance
...
Should the following code not work?
$('.elastica').click(function(){
document.getElementById('bigimage').attr('src')= $(this).attr('src');
});
It doesn't change a thing on the site.
I've also tried this outputting the image location trough the the other image's id, but it comes up empty (literally ""). When I output the other imag...
Here is what I am doing.
I am displaying a box, after click at a link
CSS
#toshow { display:none; }
HTML
<a href="#" id="mylink" >Link</a>
<div id="toshow">Here is my content</div>
Jquery
$(document).ready(function() {
$("#mylink").click(function() {
$("#toshow").show();
});
});
Now I want to catch a event,...
Hi,
I am using Uploadify to Upload the Images. the only glitch i am facing is i want to restrict the image dimension to the user for uploading the image. (I do not want to use the image resize for some reason). my logic for doing that in php is i have a user defined function which will take three parameters first the image tempname, sec...
Hi there.
Using jquery I would like to disable scrolling (of the body)
my idea is to
a: set body{ overflow: hidden;}
b: capture current scrollTop();/scrollLeft()
c: bind to the body scroll event, set scrollTop/scrollLeft to the captured value.
is there a better way?
Melodramatically = [auto spell check fail :/]
Update
Please see my...
I have following markup
<div id="mnuMain">
<ul>
<li><a href="#">Dashboard</a></li>
<li><a href="#">Market Trends</a></li>
<li><a href="#">Master</a>
<ul>
<li><a href="#">Products</a></li>
<li><a href="#">Segments</a></li>
<li><a href="#" >Companies</...
Hi Im trying to replace some html with Jquery, this is what I got so far.
$(".old").html($(".new").html());
This almost work. Only that the .new is being copied, instead of replacing.
I wan't to Cut/Paste instead of Copy/Paste
...
I am trying to get the tipsy plugin working and can't seem to do it with dynamic id's.
this is the code I was trying to use.
jQuery(document).ready(function(){
jQuery("a#[id^='pro_']").each(function(){
jQuery("a#[id^='pro_']").tipsy({gravity: jQuery.fn.tipsy.autoNS,live: 'true'});
});
});
a link would look someting l...
I am trying to use JQuery to search and replace all instances of a given string. JQuery was the only method I found which doesn't force-reload the whole page. This is what I have right now:
<script>
$("*").each(function () {
if ($(this).children().length == 0) {
$(this).html($(this).html().replace('0101','0102'));
}
});
...
I've created a basic browser within a browser window using an iframe:
The purpose is to allow mouse-over styling of elements using jquery ie/ highlight all links red etc... change font etc..
I've created two files:
browser.php
<html>
<head>
<title></title>
<style>
#netframe {
float:right;
...
I'm doing project on Graphical based password and the case is i'm creating a 5X5 grid on webpage,and use will click on the points on grid and the points will save in database,
the concern is
How to create Grid .. and save the points with Ajax technology or using jquery ?
...
I try to submit a form if a condition is not validated.
<form action="http://www.google.com" method="post" id="support_form">
<p class="accept"><input type="checkbox" id="id_cgu" name="cgu" value="1"> I accept
<input type="submit" value="ok">
</form>
<script language="javascript">
$("#support_form").submit(function() {
if($("#...
Hi guys, I'll get straight to the point, I am using jQuery to clone a div element, which has a span within it to which I have binded a click event that when triggered removes the just cloned section from the DOM, now the first section works ok, but for some reason it won't remove the cloned sections once they are created, here is my code...