ok so i collect the variable below through javascript.
var frameState = $(this).attr('id');
I have radio box that chooses no mats or one mat. When a box is chosen it reloads the page I want to put the variable framestate in the url: Sidenote - the code might not look great here but it all works I just don't know how to append the var...
How can I validate if the user has selected a file to upload?
Edit: bumped
...
Hi. I have a form
<form action="/Account/Create" id="account" method="post">
<fieldset>
<legend>Fields</legend>
<p>
<label for="Password">Password:</label>
<input id="Password" name="Password" type="text" value="" />
</p>
<p>
<label for="OpenID">OpenID:</labe...
I am using the following to fade a div with slideffect.
$('div.clsBlue').eq(2).fadeOut(1000, function() {
});
This fades with animation in IE7 perfectly but not in mozilla 3. Any suggestions?
...
Hi,
I'm working with jQuery's UI sortables and have created a system of divs in this format;
<div class='mainDiv'>
<label>text: <input type='text' name='textbox' /></label>
<div class='children'>
<div class='mainDiv'>...</div>
<div class='mainDiv'>...</div>
<div class='mainDiv'>
<label>text:...
I need to create a very simple application:
I need to have a form that submits data to a servlet
The servlet then queries a database to retrieve a list of reports based on the criteria given by the form
The returned list of documents has to displayed in a div on a .jsp page
I am not sure about the last one (number 3). I know how to c...
Hi there,
In Firefox, this seems to be working fine - but Safari, Opera & Chrome all had issue. An error will be thrown by jQuery.ui (Line 3181) which controls the colour changing of elements, i.e. the "Highlight" effect.
This only happens when trying to clone and highlight the clone in the same action, i.e. $(targetStory).after(target...
Hi Guys,
I am trying to get multiple rows with jcarousel - I was wondering if someone has had success with this and can post some code to help out ?
FYI - http://sorgalla.com/jcarousel/
Thanks
...
Hello, I am having a problem with selecting an element from a previously loaded html page
if I use this code, the one before last is designated too be the last in the dom-tree
instead of the one that I just inserted
$("div.wrapper:last").after('<div class="wrapper"></div>');
$('.wrapper:last').load('tbnote.html .pane');
$(".pa...
We have an application with legacy code that relies on prototype, but we've found it to be too 'heavy' for most of the places we want to use it and and have found jQuery to be a better fit for how we work. So we're migrating to jQuery for new functionality.
In the meantime we have several pages that need to load both libraries:
<script...
how do i check/validate in jquery whether end date [textbox] is greater than start date [textbox]?
...
I have an ccordion menu, and each menu header has a little arrow img that changes when the menu slides down and up.
This is the code so far:
$(document).ready(function() {
$("div.menu_body").hide();
$("#menuheader div.menu_head div.detailsPanel").toggle(function() {
$(this).addClass("detailsPanelSelected").parent(this).next("div....
I've been asked to make a sponsored background (site takeover) for one of our sites and the question arose of whether I can make the logos in the tiled background clickable.
My initial thought was 'no', but the more I think about it, the more I think it'd be possible if I either used JavaScript to make the body element clickable, or fak...
I'm using jQuery with the BlockUI plugin to block a page after a link is clicked. I'm also using a DOM element to display a message when the page is blocked.
Here's a simple example of the code used:
<a id="testme" href="#">Click Me</a>
<script type="text/javascript">
$(document).ready(function() {
$('#testme').click(function...
During the course of a page I am choosing a picture frame to frame an image with matting - that part works. What I want to do: Say The matting is set at 1 mat and the frame is set for Frame8 if I decide I want 2 mats how will I be able load frame8 when the page reloads. Right now it reverts back to the default frame. Jquery and php ar...
What would be the best way to handle the submit event when you have multiple forms dynamicly created with the same form id in jQuery?
So far this line makes that jquery only handles the first form.
$("form#noteform").submit(function(){
// do stuff
});
Kind of confusing, because I really need to catch the submit of a particular form...
I have to build a multibrowser web app which should be able to be installed in both Windows and Linux servers.
I've thought of using a single client-side frontend built with JQuery, and two different backends, built with java and c# respectively. The client then would use ajax calls with json to communicate with MVC frameworks on the se...
Hi guys,
I just want to know how the guys at DeviantArt.com implemented the shadowing on each images.
If you look at the thumbnails, you'll see that the images are shadowed a bit. I think they done it with Javascript because when I turned off my Javascript the shadows were gone. And they are also using jQuery btw.
...
I know there's a way to call [WebMethod] via jQuery ($.ajax(...))
I was wondering if it's possible to call [ScriptableMember] via jQuery.
...
Hello, I am trying to show and hide a few form fields dependent on the value of one of my select fields, I am looking to use arrays to to hold what should be show and what should not be show for each select value, to save me from a massive switch statement, but cannot figure out to do it.
I am using PHP and jQuery. Any help would be g...