Hey Guys
Im looking for a jquery or ajax file uploader, Im currently using the FancyUploader which worked great until Flash brought out their update making all flash progress bars absolete, now whenever I try to upload large files... it will fill the progress bar to 100% in a matter of seconds even though the actual upload finished minu...
I have a jQuery ajax function that retrieves JSON data. In the success block I call another function to parse the data and update the page. At the end of this parsing/updating function a different ajax call is made. This works perfectly in all browsers except Internet Explorer (7 and 8). The problem is Internet explorer thinks the sc...
even with a piece of code like this
$.get('getforums.php', function(data) {
alert(data);
});
works well in chrome, firefox, safari, opera but not this baby.
tried everything, cleared cache, recreate this file in different editor,
even make this file just echoed a 's', but no,
it just don't like this file, works perfect on other fi...
I actually have two questions, both are probably simple, but for some odd reason I cant figure it out... I've worked with JSON 100s of times before too! but here is the JSON in question:
{"69256":{
"streaminfo":{
"stream_ID":"1025",
"sourceowner_ID":"2",
"sourceowner_avatar":"http:\/\/content.nozzlmedia.com\/images\/so...
Say when the page loads, this code runs:
jQuery(document).ready(function($){
$('#overlay').overlay( api: true );
});
How would I bind an event to it? I've tried:
$('#overlay').onBeforeLoad( function(){ alert('Hi'); });
$('#overlay').bind( 'onBeforeLoad', function(){ alert('Hi'); });
var api = $('#overlay').data('overlay');
api.o...
How image drag and display corresponding row and how take that image's name when sumit form we have four images on topof the page.each images have each value.then below that display some words row by row.whenever we drga tha image from the top to the corresponding words,then we can identify that image name,corresponding words when submit...
I wish to create an Interface to choose Multiple answers using Drag & Drop rather than CheckBox near to the answers. User can choose two types of answers (Real Answer and a Fake Answer). The User has Two Images (for Real & Fake) on the answer page. User can drag an Image and drop near to the selected answer. It is possible to change the ...
I am trying to create a thin line under a nav bar to follow the mouse but am having trouble getting e.page:X to set the width of the element.
Here is what I have:
$('#test').mousemove(function(){
var linewidth = e.pageX;
$("#line").width($linewidth);
})
})
Can anyone tell me why this is not setting the w...
Hi,
Javascript is running extremely slow on IE on some pages in our site.
Profiling seems to show that the following methods are taking the most time:
(Method, count, inclusive time, exclusive time)
JScript - window script block 2,332 237.98 184.98
getDimensions 4 33 33
eh 213 32 32
extend 446 30 30
tt_HideSrcTagsRecurs ...
Hello,
var val = $("#desc").val(); // input box
var val2 = $("#type").val(); // select box
if((val=='') || (val2 == ''))
{
alert("err");
}
else { // codes }
when i select dropdown and not type anything on inputbox, the alert err still comes out?
how to make it when dropdown is selected, it goes to else clause?
...
Just wondering if anyone can provide some basic advice on an accordion I'm trying to simplify. Got a working version, but it seems way overly complex. Here is my new JS.
$(document).ready(function() {
$("#themes li ul").hide();
$("#themes li").hover(function() {
$("ul").show();
}, function() {
$("li...
I am trying to expose some data, user names, as json format on my server. I want to use jQuery.getJSOn() method to query data. I can get my data converted to json with newtonsoft.dll on server and save it in a file. But as far as I know it is not queryable. I want something like
http://search.twitter.com/search.json?callback=?&q=ab...
hi,
//codes
success: function(html){
// this is for input box - working
document.getElementById('val').value='';
$('#val').value='';
// how do i set it for dropdown box to reset after sucess?
document.getElementById('val2').value='';
$('#val2').value='';
}
Once user submit dropdown box, i need it to reset to value="...
I have a bit of a conundrum. I have a form which has numerous fields. There is one field for links where you enter a link, click an add button, and the link(using jQuery) gets added to a link_array. I want this array to be sent via the jQuery.ajax method when the form is submitted. If I send the link_array using $.ajax like this:
...
I have a dialog in which there are 2 textboxes. I want to reset the textboxes values once the dialog is destroyed. How can I do that?
If I have entered values in the textboxes and clicked cancel, reopening the dialog will show the data entered previously.
function setDialogWindows($element) {
$('#change').dialog({
...
Hello all,
I currently have a JS function that allows me to load partial content from another page into the current page using jQuery.load()
However I noticed when using this that I get a duplicate ID in the DOM (when inspecting with FireBug)
This function is used in conjuction with a Flash Building viewe so it does not contain any cod...
My code is below, and I had an issue with nearly the same code, and it was fixed here on StackOverflow, but, again, its not working. I haven't changed the working code, but i did wrap it in the for...in loop youll see below. The issue is that no matter what marker I click it always triggers the last marker/infoWindow that was placed.
$(...
Hi all,
I am trying to use JQuery to highlight the checkboxes checked by a user,
and when they will be un-highlighted when the user unchecked those checkoxes.
But how is it possible to do this effect?
...
I'm trying to set the "onclick" attribute of a link generated with jQuery.
While other attributes work without problem (eg. href, but also other custom attrs), setting "onclick" seems to only work in FireFox. On other browsers the attribute just gets ignored.
Any hint? Is this behaviour correct? And why?
<html><head>
<script type="tex...
I'd like to know where I can get more web UI interfaces like the ones at:
http://www.webguitemplates.com/
...