I am looking for a way to have a date/time method where I have multiple drop downs
Month/ Day / Year -- Hour / am/pm
Month/ Day / Year -- Hour / am/pm
I am looking for maybe a jquery plugin that will take the first row and on update change the bottom row in a range of time. So if I picked 11pm on the first row, it would change "day"...
Hi all
i am making an upload with Ajaxupload plugin and i am using this function in OnComplete event of ajaxupload;
function degis(){
var a = "<?php echo $id; ?>";
document.getElementById("imga").src = "../artwork/"+a+"/logo.jpg?dummy=371662";
document.getElementById("imga").style.width = "500px";
document.getElementById("imga").style....
I'm using the jQuery validation plugin in a very similar manner to the Remember The Milk demo.
$("#registrationForm").validate({
rules: {
email: {
required: true,
email: true,
remote: '<%=Url.Action(...) %>'
},
},
messages: {
email: {
required: "Please enter an email address",
...
i have this code:
$('.myButton').live('click',function(){
var checkTextValue = setTimeout(function() {
var textVal = $('p').text();
if (textVal == 'expectedValue'){
alert('done');
} else {
setTimeout(arguments.callee, 10);
}
},10);
});
when the button is clicked for the first time it works just ...
I'm trying to find/make a good jquery drop-down menu with animation (fadein/fadeout or slidedown) that activates on hover, not click.
What do you recommend?
...
Hi,
I am trying to emulate the menu's in http://www.clydeproperty.com/ I want to hover over one of the menu's and make a jQuery.load() call to get the menu options, then slideDown() a div containing the options.
I would then like to keep the menu open until you move anywhere else on the page, except into the open menu: in the below ex...
Ive got a struts2 action that is invoked via a jQuery ajax call, I am trying to determine how to trap any exceptions that may be thrown.
I am trying to do the following in jQuery call.
$.ajax({
type: "POST",
url: theUrl,
data: theData,
success: function (data, textStatus) {
// data could be x...
Does anybody know how to get a velocity macro to run when it's prepended by an Octothorpe?
I have a velocity macro called #macro(getUniqueID $id)
And I want to use it to spit out an id to be used by jQuery.find() which uses CSS selectors which means that the id needs to be prepended by another octothorpe.
jquery.find("##getUniqueID...
I'm a total noob to JQuery, and I've been tasked with finishing a project beyond my ability.
I've got a series of images each in it's own div with an associated hidden paragraph. I can use simple show/hide script to get the paragraph from the first div to show and hide properly, but once I add more image divs to the mix, the code eit...
I have a set of DOM elements that I want to show only when a controlling checkbox is checked by the user. All of these items have a common class and are initially hidden:
.spec { display:none; }
In the click handler of the checkbox, I originally had the following,
which worked fine for existing elements. However, the tables are dyn...
I am trying to make a numerical value, say 5000, quickly change to another value, say 4000, using JQuery. Right now I do this fine using:
mod(".class",4000,"add");
function mod(id,value,type){
var numb = $(id).html();
var current_value = parseInt(numb);
do {
if(type == "add")
increment(id);
else...
I have a setup like this:
<div id="container">
<div id="close">Close</div>
</div>
Then in my jquery I have this:
$("#container").live("click",function(){
changeTabs();
});
$("#close").live("click", function(){
closeTabs();
});
The problem with that is that when you click the close div it fires both events. I a...
Hello all,
I'm currently using the following jQuery plugin: jQuery OEmbed. This plugin works great in FF, Chrome, and Safari. However, I am having an issue in IE7. I have stripped my code down to very bare-bones, but still can't figure out what would be causing the following error:
Error: Object doesn't support this property or met...
I want to know whether or not I have a new email from Gmail, but I don't want to go to Gmail all the time.
Is it possible to use javascript to check if a new message has arrived?
I know it is possible using php classes, but I would like to do it javascript also.
...
I am looking to have a UI element similar to that offered by the JQUERY Accordian plug-in, but allowing the user to keep multiple sections open at once.
The documentation has the following to say, and suggests an alternate approach with a code snippet (see below). That is great and all, and the code they provide basically works, but I f...
My web application uses allot of javascript, and in the javascript I have messages that I report back to the user.
What is the best way to extract the text from my javascript and store it externally in another .js language file, and how would I reference it in my js code going forward?
Any best practices for this?
...
Is the keyword (or method?) prototype in jquery kind of like extension methods?
i.e. all classes will have this functionality available to it going forward?
...
Basically, what I'm trying to do is simply make a small script that accesses finds the most recent post in a forum and pulls some text or an image out of it. I have this working in python, using the htmllib module and some regex. But, the script still isn't very convenient as is, it would be much nicer if I could somehow put it into an...
I'm looking to use jQuery to remove the need of using a GIF's to create a fairly simple animation.
What I want is an image to have four stages.
1) Nothing showing
2) The first part of the image
3) Second part of the image
4) Third part of the image
- Start over
I was thinking I'd need to create the image stages then use a 'replace...
I got an issue when using jgGrid from IIS 6. My javascript looks like:
jQuery("#sandgrid").jqGrid({
url: '/Deposit/Search?startDate=' + startDate + '&endDate=' + endDate,
datatype: 'json',
.....
It runs fine on my local using development web server. But when I deploy to IIS. It failed to retrieve the data, because it sent...