I have a form loading inside my page and there is a button out side this form its function is to submit this form.
$('#MyForm').submit();
I want a way to write a submit complete function, means to know that the form successfully/completely submitted.
I tried the jquery form plugin, but didn't work, i think because the submit come fro...
We have customers that create small intranet applications on servers we provide them. The servers also house various (windows/.net based) systems we have created.
We need to provide our customers a "one-liner" piece of code that will allow them to embed functionality into their web pages. Similar to how Google Ads works when they ar...
Hi, I'm using jQuery and the minlength method for the validation plugin
rules: {
checkboxes: {
required:true,
minlength: 3
}
}
This works how i want it to, BUT the error message I'm getting is "Please enter at least 3 characters." How do I instead say, "Please check at least 3 box...
Hi,
I am trying to get the value of the text in the input fields. what is the best way to do it in jquery. I tried .text() it doesn't work.
`
<html>
<head>
<title></title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var t = $(":input")....
I have code that uses jquery.slideup and jquery.slidedown
How can i know that div is hidden?
...
Hi all, I used to use a guitar tab site and it had a feature where you'd be able to auto-scroll the page you were on. There was a control panel that was fixed regardless of where on the page the screen was scrolled to which you could use to set the scroll speed and turn it off. Now, I can't remember which site it was, nor can I find...
Hey All, I currently use Google's API to include jQuery into my sites like this:
<script src="http://www.google.com/jsapi"></script>
<script>google.load("jquery", "1.3.2");</script>
How would I accomplish the same for the jQuery UI javascript and css files?
...
i am at the finish of my very first javascript and have been able to get everything working except one last bug.
i have this script that calls for an overlay to display full preview of images, and a button to zoom-in/out and a button to go back. the trouble is when i first view the full image, the zoom in/out toggle works fine. but when ...
Trying to figure this out... I'm trying to accessthe top level of the dom from inside an iframe. How possible is this?
...
Hi, I have a Javascript object that basically represents a Row in an .NET GridView.
When a user clicks on any row in the grid, all the input elements in that row are 'enabled'.(ie 'Edit' mode).
I run this code depending on which row is selected
$(":input", this._row).attr('disabled', true);
or
$(":input", this._row).removeAttr('disab...
Currently I have a heading with a downwards pointing icon. If the header is clicked, I want the image to change to an upwards one.
I have tried using the "?" operator to query if it is, but I am not 100% sure how it works. I'm using this code at the moment.
// Toggle message_body
$(".message_head").click(function(){
var id = $(this).a...
I am sure I read about this the other day but I can't seem to find where. I have a fadeOut event after which I remove the element and JQuery is removing the elemnt before it has a chance to finish fading out. What is the solution to this again?
...
I'm trying to append an ActiveX control dynamically to a page using jQuery. The append is successful; however, the control doesn't initialize when it is done this way. I believe IE calls the OnCreate method of an ActiveX control when a page that contains a control has finished rendering. The problem is that the tag is not present on the...
I would like to select a set of elements that are both of a certain input type (say, a checkbox) and have a certain class using jQuery. However, when I try the following:
$("input:checkbox .myClass")
I don't get any items returned. How can I accomplish this in jQuery?
...
I have the following HTML generated by an ASP.NET repeater:
<table>
<tr>
<td><input type="hidden" name="ItemId" id="ItemId" value="3" /></td>
<td>Terry</td>
<td>Deleted</td>
<td>Low</td>
<td>Jun 21</td>
</tr>
....
...
In the end, I have decided that this isn't a problem that I particularly need to fix, however it bothers me that I don't understand why it is happening.
Basically, I have some checkboxes, and I only want the users to be able to select a certain number of them. I'm using the code below to achieve that effect.
$j( function () {
$j(...
As the user pans around a Google Map, a list of of currently visible markers is updated. This list contains up to 1000 items, and it slows down when several hundred li's are shown or hidden all at once. It's less than half a second, but it's getting annoying.
An array (newLiList) contains the items which should now be visible. Anothe...
So I am baffled by this one. I have a function that is responsible for a non-secure item warning message to appear when viewing my web page from with IE6 on SSL. If I comment out the entire function the message goes way. If I just comment out the one method call it remains. What is really driving me nuts is if I remove all of the logic f...
I left cross-browser compatiblity issues for last, and it seems IE is going to be a big pain. Nothing is working in IE;
First of all, the following is not working:
var img = document.createElement("img");
img.setAttribute("height", "270px");
I have an invisible div onmouseover which displays a transparent div "cpanel". I cant access ...
Hi,
I am trying to use the extend for the defaults,options in a plugin. But it does not work as described in documentation.
var empty = {}
var defaults = { validate: false, limit: 5, name: "foo" };
var options = { validate: true, name: "bar" };
var settings = $.extend(empty, defaults, options);
Here the settings is supposed to Merg...