jquery

JS Browser Loading animation

How to stop browser load animation. I use hidden i frames and refresh them very often, and I don't want users to see annoying load animation and progress bar. ...

jQuery - Why editable-select list plugin doesn't work with latest jQuery?

Why editable-select list plugin<select><option>value</option>doesn't work with latest jQuery? editable-select code: /** * Copyright (c) 2009 Anders Ekdahl (http://coffeescripter.com/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licen...

jQuery Dialog : What is a jQuery dialog, is it a separate webpage or is it part of the existing webpage?

Hi, Whats the meaning of Jquery dialog: Is it separate web page or its part of web page? (I don't know well Jquery). Thanks ...

Imitate Google suggest with AJAX and PHP

I want to imitate Google suggest with the following code, which means: step 1: When user types in search box, the query string will be processed by a server php file and query suggestion string is returned(using Ajax object). step 2:When user clicks on a query suggestion, it will fill into the search box (autocomplete). Step 1 is a...

Show a picture when mousemove over a text with jquery?

Hello, do you know any tutorial or script that shows a picture when mousemove over a html text? ...

jquery autocomplete() is not working

<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.2.custom.css" /> <script src="jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script> <body> Search: <input id="example" /> </body> <script> $(document).ready(function(){ var data = "Core Selectors Att...

How to access the jQuery event object in a Seaside callback

Basically, I want to translate the following into Seaside Smalltalk: $(".myDiv").bind('click', function(e) { console.log(e); }); Besides that I don't want to console.log the event, but access it in my ajax callback. The most promising approach seemed to be something like html div onClick: (html jQuery ajax callback: [:v | s...

jquery get attributes

I'm looking for a way to grab the custom attributes of a element with jquery. <span id='element' data-type='foo' data-sort='bar'></span> I'm looking to get: ["data-type", "data-sort"] as an array. Anyone know how to do this? Thanks. ...

Trouble with Canvas rendering in Safari/Opera

Been banging my head against this one for a while, and figured I'd turn to the experts for some advice. I've made a jQuery snippet that grabs the values from a table and plots them in a line graph on a canvas element (also generated by the JS). All's well in Firefox and Chrome, but Safari and Opera aren't displaying the plotted points. ...

jQTouch on Iphone - jumping to specific DIV after onclick and javascript function

I am just starting to use jQTouch. In #contact I have a button that calls javascript function sendEmail() How can I jump to/show the div #statusDiv in the javascript function after sending the email? function sendEmail() { // sending email // --> how to jump to DIV called statusDiv } <div id="home" class="cur...

How do I make calls to a WCF service with jquery ajax from an SSL-secured page?

I have a WCF service returning JSON to jQuery ajax calls and presenting the results on an ASPX page. When the page is NOT under SSL, the ajax calls work perfectly. When the page IS under SSL, the calls fail. I understand that this behavior must be due to the Same Origin Policy (SOP). So, how do I setup my WCF service to accept calls fro...

Adding AJAX call to function triggered popup blocker

Hi folks, I have a client who wants to open variously sized images in a centered popup. I tried to get them to use FancyBox but they don't want interstitial presentation, so... I initially was opening a generic popup which resized and centered onload based on image size but they don't like the shift so I added a PHP script to echo the...

how to clear the dropdownlist values on button cick event? using jquery

how to clear the dropdownlist values? thanks ...

Using Javascript to submit forms.

EDIT: For some reason if I change the input into an , the submit code works fine. Ok, this works, I'll just style the a tag to look like an input tag in css. I am using a jQuery function to submit a form when a certain button is pressed, however this seems to have no effect on the form. My code is as follows: HTML: <form id="loginForm...

return false is not working in my submit click

Hello friends. this is the code i am using for my Html.BeginForm.. in else blcok my return false is not working after alert mesage also its going to my controler? thanks is this right? i tried like this if i do like this on submit its doing nothing.. thanks ...

Dynamically change embedded video src in IE/Chrome (works in Firefox)

I'm trying to dynamically change an embedded video on a page. It's working in Firefox but for some reason it's not working in IE and Chrome (strange combination). Here's the HTML: <object id="viewer" width="575" height="344"> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.youtube.com/...

do you need captcha validation in newsletter subscription?

I am using a custom captcha php script along with news letter scripts to let users subscribe using an email id. The method of registration is based on jQuery.post command. My question is that am I really safe If I remove the captcha validation from my subscription script. The subscription is simple. For example mydomain/subscribe.php?e...

Use AJAX to load webpage content into DIV

Hello. I have a text field. When I type something into than text field, I want to load stuff into the DIV below. That's my code equivalent: <input type="text" onkeyup="/* I am not sure how it's done, but I'll just write: */ document.getElementById('search_results').innerHTML = getContents('search.php?query='+this.value);" /><br/> <div ...

jQuery Actual image diamension

I have a 1024x768 image <span class="frame"> <img alt="Image" title="Image" src="hD41120CA-7164-11DF-A79E-F4CE462E9D80_Green_Sea_Turtle.jpg"> </span> and the below CSS sets the image width to .frame img{ width:425px; } And the jQuery code $('.uploaded_image img').attr("width"); returns 425 How can i retrieve the actual ...

jQuery Graph from a PHP page

Hi. I'm looking for a jQuery Plugin to create a graph like that http://www.panic.com/blog/2010/03/the-panic-status-board/. To update the graph every x miliseconds from a PHP page and the numbers that are on the top. Is it possible? Do you know any plugin that does that? Thanks! ...