jquery

Grab the youtube Video ID with Jquery & .match()

Just need a little push as I have this almost working. I want to feed jquery a URL and have it strip everthing but the video url. Here is my code: var url = 'http://www.youtube.com/watch?v=bxp8NWvIeSo'; $results = url.match("[\\?&]v=([^&#]*)"); alert($results); }); I'm getting this as an output - ?v=bxp8NWvIeSo,bxp8NWvIeS...

Slow jQuery animation in IE

Hi, I have a site http://www.special4you.co.uk and has a animation nav made from balloons. This works and looks lovely in FF and Chrome but in all the IEs it looks pants as the animation is poor and jagged. Does anyone know why this or if it is my fault? my code is: $(document).ready(function(){ Cufon.replace('h1, p, #address, h2')...

jQuery Looping Animation pauses each time. How to keep from pausing?

I am trying to cause a block to "pulsate" between 100% opacity and some partially transparent opacity. I want to do this with the functionality that is built into the jQuery core, if possible. I would rather not add a plugin to get this effect. Here is the code that i am trying to use: $(document).ready(function() { function pulsat...

If you flush the content (ob_flush) of an AJAX request, the content will get loaded?

I mean... Let's that we just make an AJAX request and inser the result inside a div#result.. In the backend the script use ob_flush() to send the header but not terminate the request until it's terminated (with exit or ob_flush_end) The content will be loaded into the #result only when the request terminate (exit or ob_flush_end) or it...

Making a list of every separate line with jQuery

Hello. I'd love to know that how to create a list from block of text. Let me explain.. Here's my html: <div class="asd"> well worth it </div> And this should be automatically converted to list like this: <div class="asd"> <ul> <li>well</li> <li>worth</li> <li>it</li> </ul> </div> Hope you understood :-D I've already tried it with...

How can I apply a loading gif animation to my autosuggest?

I'm so lucky to have my solution on an US server, while my audience is located in Scandinavia (on the other side of the pond). This makes the respons time a bit slow, and not ideal when I'm using AutoComplete for my search box. To give the user some feedback, I want to display a animated loading GIF. The problem is that I don't know h...

How to remove the last DIV using jQuery?

Hi i have the following format : <div id="container1"> <div id="post"> blah blah blah </div> <div id="post"> blah blah blah </div> <div id="post"> blah blah blah </div> </div> <div id="container2"> <div id="post"> blah blah blah </div> <div id="post"> blah blah blah </div> <div id="post"> blah blah blah </div> </div> I want a jQuery...

jquery autocomplete filtering

Hello all, I have a page, which uses jQuery Autocomplete on the second two textboxes (investigator and institution). It is getting the data fine, and displaying it, but for some reason it is not filtering the list of data as i continue to type. Anyone know why? Is there something i need to do to turn this on? According to the jQuery si...

preventing effects to be applied to the same object twice when adding objects with ajax

I'm having a little issue with an application I'm making. I have a page where the user edits a document via dragging modules into the page or "canvas" area. When the page is loaded, javascript haves the modules collapsible (like above). However after the user drags in a new module the effect is applied again some new modules can col...

unable to chain animation in jquery

I have a list which is hidden using css code {display:none;} now i am using the jquery code to animate the list (li's) var numb = $("ol#update li").length; for(j=0; j < numb; j++) { $("ol#update li").eq(j).animate({ height: 'show', opacity: 'show' }, {duration:1000}); } I need to animate the items one aft...

Google map: openInfoWindowHtml with jquery problem

I've added ability for users to add new point on my google map. My code: GEvent.addListener(map, "click", function(overlay,point) { if (point) { var myHtml = '<div id="addpoint"><form id="formadd" name="formadd_point" enctype="multipart/form-data" method="post" action="pointadd.php"><table><tr><td>Place:</td><td>' + point + ...

Redirect from iframe to the new window

Hello everybody. I have been building widget that accept user input and then once everything checked it will redirect user to the original web site. However the best I achieved for now is that redirect will be opened in parent window rather then in new window. Right now I am using $(parent.location).attr('href', asoRequestURL); Ho...

jquery problem in IE with dynamic dropdown selection

Hi jquery/javascript gurus, I am trying to use jquery ajax function to populate the dropdown, it works fine with FF, but IE give the javascript error snow below in the scrnshot. howver IE does get the data and selects it. Am i doing something wrong? function getAjaxFunction(thisval, curval) { $.ajax({ type: "POST", ...

jQuery height() problem

How do we go about accessing a height for a Gridview? The Gridview has a CSS attribute called height that is set to 800px, but I haven't been able to access anything with height() $('ctl00_MainContent_grdPersonResults').height() = null Any ideas? ...

Form submit button remains disabled when using Back button in Firefox

I'm using some jquery to disable a form submit button after it's been clicked to prevent accidental repeated clicking. This works fine in all browsers except Firefox. In Firefox if the user uses the browser Back button to go back to a page after the submit button disabling has occurred, the submit button is still disabled. Is there an...

How can I get a jquery slideshow plugin that will change multiple divs?

I'm new to jquery, and I have a bit of a problem. What I need to do is have one div as my main slideshow. That seems straightforward enough. However, I would like another slideshow div to change next, ( containing a bit of text ). So the change path would be: div 1 change, div 2 change, div 1 change ,div 2 change, And so on. Whe...

JQuery: Fading Out, Performing an Action, then Fading Back In

Hello, So I have what amounts to an html form, but is not an actual <form>, per se. I have a 'Clear' button that I am currently using to reset all of the fields back to their defaults. From an aesthetic standpoint, I would like for the form to fade out, reset while it's "gone", and fade back in completely reset. I've got this code so f...

Parent page spawn modal window, button on modal windw cause trigger postback on parent?

Hello, I have a asp.net webform. There's a few fields on the form that the user will fill out. There is a hyperlink that opens a modal window (I'm using jquery & prettyphoto, but may switch to http://www.ericmmartin.com/projects/simplemodal/ because his documentation is better) The modal window contains an iFrame where the user makes a ...

Html table, where each row has a checkbox, want to send all checkbox value's to an ajax call

I have a report page, that displays many rows, each row having its own checkbox with its value being an ID field from the database. This is for a bulk operation, that will be preformed on all the row's where the checkbox was checked. So if the user checks multiple boxes, hits a button, I need to send all the checkbox values to a contro...

jQuery: Toggling multiple things with one click (noob)

Forgive me- I don't like adding to the beginner questions on here, but alas, I am stuck. I am trying to slide a bunch of things to the left and off the screen (including a background image), effectively toggling a control panel (#navCol) and making the main area bigger (.main to .mainLarge). It's working ok in Firefox, but not in IE. ...