jquery

Problem with colorbox playing swf files from amazon S3

Hi, Just put our new site live, and having trouble with one of the swf files playing. Using the colorbox jquery plugin throughout the site and this works fine. However a movie on http://www.learningassistant.com/qcf (qcf engine movie) gives out a repeated javascript 'Access is denied' error everytime you close the colorbox?? Perhaps...

Trigger second function in toggle()

Hi all, Is there a way I can call the second function in toggle(function(){},function(){}) Thanks in advance ...

delete record in jqgrid in asp.net

hi, i want to delete a record in jqgrid. for this i have the image and when the user clicks on this the record is getting deleted.but i want to show the confirm box and when true then only the record should get deleted. so any one can tell how to call javascript in jqgrid. my jqgrid is jQuery(document).ready(function() { jQ...

How to hide a table when it blur/or click document that outside the table

best in jQuery. thanks. ...

Flowplayer is above modal window

In my web application, I have webpages where people can watch videos. I'm using Flowplayer for playing flash videos. You can see it here: http://flowplayer.org/ I also use modal windows in my web application. I'm creating them with this jQuery plugin: http://code.google.com/p/jquery-modalbox-plugin/ Modal windows work great. The only p...

jQuery multiple methods waiting

Hello, Is there a way to wait for hide function in a loop? I mean if I have this structure in html: <div class='example'> <span> One </span> <span> Two </span> <span> Three </span> <div> And in js I want to do something like this: $('.example span').each(function(i, span) { $(span).hide('slow'); }); I believe js is...

How get snapshot of my canvas

I develop small application using javascript, using this I can draw on the canvas.I want to know, How get snapshot of my canvas and send it another one, using javascript or any other server side language. please help me.thanks. ...

Is it possible to create continous / neverending scrolling effect in webpage?

Here is what I am thinking: I have long web page and when the user reaches the end, I don't want the scrolling to stop just then, but I want to reload the page again from the bottom and continue the scrolling. Detailed As the user scrolls to the bottom, I want the top of the website to be removed from the top and placed at the bottom...

Ajax request inside update panel...synchronous?

Hi, please bear with me, hope you can help me out: I have 4 .NET LinkButtons and a .NET Placeholder inside a .NET UpdatePanel. When i click one of the aforementioned LinkButton, a user control is loaded in the PlaceHolder; All LinkButton are set as AssyncPostBackTriggers of the UpdatePanel; It's all good so far...everything works out f...

media player like jquery media plugin which plays outside files

I am trying to use jquery media plugin, which is very simple to implement for the local files. I dont see an option to play the outside files. The jquery media plugin works fine when we implement like: Html: <a class="media" href="sample.mp3">Sample Mp3</a> Script: $('.media').media(); But this is not working when we implement like:...

How to Init start values in DropDown using Jquery

Hello! For example I have: <select id="myDropdown" name="myDropdown"> <option value="6">Six</option> <option value="5">Five</option> <option value="3">Three</option> <option value="1">One</option> </select> And I have controller: DBEntity context = new DBEntity(); // My EntityModel public ActionResult Index() { re...

Why can't I use onClick to execute a function inside a jQuery $(document).ready function?

I'm new to Javascript and jQuery. I want to click a button and have a js function executed. (For this example, it's just an alert, but it's actually an ajax function.) The first alert appears, but after I click the button, I never see the second ("did it") alert. It looks like javascript doesn't think the doIt() function is defined...

What is better 'parent()' or 'parents()'?

What is the better way to get a parent node for the following example of code? ... <tr> <td> <table> <tr> <td> <div class="block_data"> Hello world!! </div> </td> </tr> </table> </td> </tr> /*Javascript code 1*/ $('.block_data').parents('tr').first()... /*Java...

Wordpress username availability with AJAX using Form-Validation-Engine

Well, my previous question brought me to use this script: http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/ Because of my total lack of knowledge I don't understand how can I fit the "Inline AJAX validation" with the "ajax[ajaxUser]" class to work checking username availability when set...

Make a form-in-a-div appear on top of content

I am sure this has been asked before but my google-fu was not able to find an answer. I have a page of content and I want it so when a user presses a link or a button a form appears on top of the content. Once filled out and submitted it would get passed on to the ajax to process it. I am sure this has been solved before as I've seen ...

Javascript: Adjusting image container height to dynamic image height after image load?

i load graphs via the following javascript function: function loadMCorCBGraph(self,surveyID,questionID,varID) { var img = new Image(); img.onload = function() { $(self).parents().parents().siblings(".graph_container") .empty().append(img); }; img.src = 'drawGraph.php?type=surveys_report_MC_or_CB&surveyI...

Input fields with value remove

Hello so i have two input fields (user & password) I want to have in them "Username" and then when you click on it the text "username" goes away and are empty and you type your username. So like if you have pressed and you like click another way the Username comes again.. So only if there has been entered/typed something, and you click...

jquery Authentication

How do you do a jQuery Ajax call and authenticate the call prior to sending the request? I have not logged in so have have to authenticate. Security is not an issue anyone can get access just need to authenticate. It just basic http authentication you can take a look at the API http://lighthouseapp.com/api/the-basics ...

jQuery Validate - Onsubmit dont leave the page and erase the inputdata in the fields.

Hi guys! I got a form that I submit and then Id like to have the data I just submitted show up in a iframe with the fancybox popup-plugin. The form is validated via jQuery validate plugin from Jörn, and when I click the submit button the form checks if everything validates as it should, and it sends me to the other page because of the ...

jQuery jCorner Plugin is not working - What am I missing

Hiya, I am attempting to use the jCorner plugin for jQuery, but falling down at the majority of the hurdles. See http://www.malsup.com/jquery/corner/ for the plugin, but I do not understand the concepts behind jQuery. The code is at http://ghostworksinc.com/new, then hit view source to see the hash I've made. The code is compiled with ...