jquery

jQuery animate undefining another function?

I have a function that takes thumbnails and displays a larger version of them inside a div when clicked. Some of these photos have a 16:9 aspect ratio while others have a 3:2. To compensate a wrote a function that adds padding to the top of the widescreen photos in order to have a letterbox feel inside the div they are loaded in. This wo...

javascript/jquery: code packer/obfuscator

Possible Duplicates: How can I obfuscate JavaScript? What do you use to minimize and compress JavaScript libraries? hi all, 2 questions: i'd like to compress my code, anyone knows which compressor the guys from jquery are using? or is there any free script? (i'd like to use the compressor using an automated asp-script, so...

ServerTime with Jquery

Hi, I need a js code for always getting the server time in a webpage. This code is working but not get the time dynamically. Code gets time one time while webpage loading. $(document).ready(function() { $.ajax({ type: "POST", url: "GenericWCF.svc/GetSystemTime", ...

jQuery .load() Queries/Performance

Hi, With using the jQuery .load() function, I find that at initial load, my web page performing the .load() routine tends to jolt/flicker for a sec when loading. Once loaded though, the page is displayed instantaneously. Can anyone suggest a means of perhaps loading these pages into cache or some other means to prevent this jolt/flick...

jquery using html

i want to know coding jquery by using html which helps to banners............. ...

jQuery $.post() and MySQL problem

I'm using jQuery and $.post(). My code snippet is as follows for chat .php : <?php $msg=$_POST['msg']; mysql_connect("localhost","root"); mysql_select_db("user"); mysql_query("INSERT INTO space (name,msg,serial) VALUES('Test','$msg','1')"); ?> and here is the code for my HTML file : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tran...

jQuery: Selecting an item in a drop down list using the text value.

Using jQuery, what is the easiest way to select an item in a drop down list using the text value. For example, I have drop down list that has a list of states. And I have the text value of “PA”. I want to make “PA” be the selected value. What is the best way to do this using jQuery. I have been doing Google searches for hours and I can...

Need Help with a new project

Hello, I am starting my first software engineering job in a week and wanted to sharpen my skills up. I'm looking for someone to suggest a good week long, web application project that can help me sharpen up my C#, Javascipt, and JQuery. Thanks! Brandon Edit: As noted below this is a pretty broad question. Let me give a little more...

Problem with concat string in jquery animate

count = 0; total = 2; jQuery("#slide").everyTime(5000,function(i){ if(count == total-1) { count = 0; jQuery(this).stop().animate({backgroundPosition: "0px 0"}, {duration:1000}); } else{ jQuery(this).stop().animate({backgroundPosition: "-"+950*count+"px 0"}, {duration:1000}); count++; } }); ...

PHP - Question about using reCAPTCHA with jQuery

Hello all, Here is a tutorial that indicates how to combine jQuery Form Validation with reCAPTCHA. http://snipplr.com/view/15563/jquery-validating-recaptcha-with-ajax/ Based on my understanding, the above tutorial in fact does a client side validation through aJax that communicates with the server reCAPTCHA script. After the validatio...

IO Error when trying to upload multiple file using uploadify

Hello every one. I am using jquery uploadify to upload files. It works fine on my local server but i get the error IO Error when i try to upload even the small sites in live. Can any one please help me on this issue? Your help will be very much appreciated. Thanks. ...

jquery popup form and codeigniter framework

Hi Guys, I'm trying to develop a system using Codeigniter, i tell you what i want problem is i don't know how to achieve it, and tried to find tutorials it didn't worked out either! :( I'm displaying the data from a MySql table as a list in my user interface, there is a separate link for each list entry, when the user click on that li...

Seeking Calendar on JS or JQuery

Hello! Does anyone know similar calendar as in the picture below (see url), just do it on Java Script or JQuery? Must need the opportunity to choose by the hour and day. Thank you! link text ...

Jquery Drag n Drop Stage

Hi Experts, I am trying to create a stage. I have 5 items in a draggable div. There clones will be dragged to 20 droppable areas. I have created 20 boxes of divs with different ids. Means multiple drop able areas. The problem is that I don't have the idea that how can I get id the of the div where the item is dropped and how, I will s...

jQuery - why ajaxForm bypasses the validation procedure?

Hello all, I have the following code snippet: $(document).ready(function () { // bind 'regFormBody' and provide a simple callback function $('#regFormBody').ajaxForm(function() { alert("Thank you for your comment!"); }); // validate the #regFormBody form when it is submitted $("#regFormBody")...

Using JSONP when returning XML

I asked an earlier question which was definitely helpful and let me know about JSONP. However, I see that I have to specify JSONP as the datatype. Now, as far as I know, that is the return type of the data coming back, which would be XML. Can XML be returned using JSONP or am I limited to it coming back as JSONP format? Thanks! ...

How to get the result of a jQuery AJAX call then call another function

Hello Basically I am trying to call a function (function 1), that get the results from another function (function 2). And this function 2 is making an ajax call. So the code would be like this: function f1 () { var results = f2(); } function f2() { $.ajax({ type: 'POST', url: '/test.php', success: func...

HTML generation problem

I'm trying to generate a small part of the page using jquery which is generating in the wrong matter even though the code looks solid. $('#stages').html(""); var stage = $("#stages"); var L = $('<h2></h2>').attr('id', 'startachat').append('Who do you wish to connect to?'); stage.append(L); var k = $('<table></table>').at...

Some code to edit thumbnail such as Facebook

I need some code to edit thumbnail such as Facebook-style. I can drag an area of image to select thumbnail. please give me some idea. Thanks. ...

Where can I get a jQuery carousel plugin that allows me to adjust its height dynamically?

Many of the most popular ones I have tried restrict the height. jCarousel for sure does & Tiny Carousel just didn't work for me. Anyone have any suggestions on what other plugin might work? Thanks. ...