Hello all,
I have a form with an id of "wizard" - I only have select elements in this form. This form is in a lightbox using the JQuery plugin fancybox:
I want to know when any of these have been changed using JQuery. How can I do this? I currently have:
$('form#wizard select[name=servers], form#wizard select[name=cores]').change(func...
Hello
I have a such system: When the mainsite opens, A flash image gallery appears, when the user clicks on an image, using the Flash's "ExternalInterface.call" function, I call a javascript function that opens a java dialog modal named nyromodal (which fetches raw HTML data via ajax from another page inside the dialog box) on the flash ...
I have a li element like this:
<li class="file file-success">
</li>
I want to change its background using jQuery.
Note that I can't change the li element itself.
...
i want to crate style class in java script tags
and class will be like this
#file-ok {
background-image: url(+ json.get('filename') +);
}
actually json.get('filename') will be name of file for background and will return from php file.
is this possible...?
...
I have an MVC view where I have a search box. On keyup, I perform a JQuery search and render the results to a div>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$("#SearchTextBox").keyup(function() {
$("#MyEntity...
I'm using JQuery's getJSON method to retrieve some data from an MVC controller.
[AcceptVerbs(HttpVerbs.Get)]
public ActionResult GetContacts(int? numberOf)
{
List<Contact> contacts =
(numberOf != null && numberOf > 0) ?
_provider.GetContacts(Convert.ToInt32(numberOf)):
_pro...
HI all,
I have a bunch of images that I need to wrap in a tag and add to a tag ref from image '+big' plus use image lint as a title for link.
The problems I have here are, 1) Images are wrapping with this same href from first image and title attribute is not showing.
This is my jQuery
$(document).ready(function(){
var ImgLink =...
jquery toggle calls preventDefault() by default, so the defaults don't work.
you can't click a checkbox, you cant click a link etc etc
is it possible to restore the default handler?
...
I'm working on a web-based application that is intended to have at least a 6 year lifetime. Once the application is delivered, chances are that it won't be modified during that time frame.
We're considering using the asp.net MVC framework and jQuery, but I'm wondering if that's a good choice. The customer is probably not going to want...
Hello all,
I have just got a questioned answered and have fallen into another trap!
I have a form which is in a lightbox and I want to track every change in the select elements. When they change I want to get the value of each of the select elements. I have tried to do the following:
$('select.htt, select.hst').live('change', function...
I'd like to adjust the margin of container divs and the padding for links within a list so that the last line-item is as close as possible to the bottom of a variably sized image next to it. The function works exactly as I had expected when the page loads the first time.
However, if the page is reloaded, the .height() and .outerHeight(...
There is a great method in jquery called wrap() that will wrap a selected element inside a new element, like so:
Start with:
<p>I wish I was wrapped!</p>
Add code:
$("p").wrap("<div></div>");
End with:
<div><p>I wish I was wrapped!</p></div>
But what I need is something that will unwrap, so that the above process is reversed....
I am developing an app for the iphone.The thing is that i want to send the values of longitude and latitude i get from the phone using javascript to a server commanding it to search for something.Do i have to read about cross domain stuff?How could this be done?
I know that i can use Ajax but it can serve me if i refer to the same domain...
Using a div with solid black color to fade out an image underneath it. In Chrome and Firefox, this works fine, however, in IE, it's backwards.
$("div#bgcover").animate( {opacity:.70}, 2500);
This starts at 0% opacity and is supposed to animate to 70% over time. In IE, however, it jumps from 0% to 100%, and then fades back down to 70%....
Hi guys,
I have a div on my page where I would like to display comments stored in a database. now what i want to understand is how the jquery live() function works. if I bind a click to an element say the div, then do I have to click? I just want the comments to be drawn and shown when the page loads or reloads.
...
When using jQuery you wait for the DOM to be ready before you start doing stuff. My problem is with images.
Sometimes images take ages to load, and quite frequently not at all. So I want ready() to basically have a timeout. It will wait something like 5 seconds and if these selected images haven't loaded it will run the function.
Is th...
I am very new to jQuery so this may be a really stupid question. :-) I'm trying to get something like the following working:
<html>
<head>
<title>JQuery test</title>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1"); // Load j...
Greetings!
I'm using this excellent jQuery plugin and would like to know how to disable or hide the loading thing that appears when the pointer is moved outside the box.
You can see this on the Demos page:
http://www.ericmmartin.com/projects/simplemodal-demos/
However, if you try the examples on this page ("Examples"), the loading th...
The shadowbox video plugin is not working in IE7 although it works fine in Firefox and Safari.
Any comments would be really appreciated.
Site:
http://www.carolinedawes.com.au/update/abc-gardening-australia.html
HTML:
<a href="m/abc-gardening-australia-caroline-dawes.mov" rel="shadowbox;height=272;width=480">
<img src="i/abc-garden...
I have jQuery UI Tabs which load their content via AJAX. About once every 15 times when the entire page is loaded (not just XHR), things fail and I don't see the proper content in the tab.
Fiddler showed me that when things fail I also see that jQuery.js and jQuery-ui.js are both sent to the browser in full (~100kB). Normally, a page ...