Refire certain scripts after jQuery AJAX load.
I need certain scripts to refire after an AJAX load. How could I accomplish this? ...
I need certain scripts to refire after an AJAX load. How could I accomplish this? ...
Hi there, I am repeating an IF ELSE statement like so $('#accountLoginButton').click(function() { if($('#topSubscribe').is(":visible")) { $('#topSubscribe').slideUp(function(){ if ($('#topLogin').is(":hidden")) { $('#topLogin').slideDown("fast"); } else { $('#topLogin').slideUp("fast"); } }); } ...
I would like to add a Javascript at the end of some ajax content, It works fine on firefox but internet explorer print the script without running it. <script type="text/javascript"> $.tablesorter.addParser({ id: 'title', is: function(s) { return false; }, format: function(s) { s= s....
I am using the jQuery Tools Scrollable plugin - http://flowplayer.org/tools/scrollable.html#navigator I have created a scrollable with a navigator before without problems and now, for some reason I cannot get the darned thing to work. The possible reason could be that there are too many divs playing, but I need all of them because each ...
When a logged user click the signout link I'd like to call the logout action without refresh the page or redirect. Any helps? Thanks! ...
Hi all, What im trying to do, is wrap text into div inside ll tag. It wouldn't be a problem, but i need to wrap text that appears particularity after "-" (minus) including "minus" itself THis is my html <ul> <li>Some list text - Additional text</li> </ul> As I result im trying to achieve this: <ul> <li>Some list text <spa...
Ok, I'm stumped. Basically, this script works fine in FF, but not in IE (6,7 or 8) - in which it returns an "Object doesn't support this property or method" error. Any ideas?: function portfolioAjaxLoader(page){ $("div#portfolio_container").load("include/DCK_portfolio_gallery.inc.php?cat=" + page); } $(document).ready(function(){ $(...
Hi, I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } If I just change confirm to jConfirm this not enough to make it work... Thanks for your help Lena ...
I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can't be opened again. ...
I have a div <div id="masterdiv"> in which i will have several child divs. For example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="childdiv3" /> </div> I need to clear the contents of all child divs inside the master div using jquery. How to achieve it? ...
i have this html: <ul id="list1" class="eventlist"> <li>plain</li> <li class="special">special <button>I am special</button></li> <li>plain</li> </ul> and I have this jquery code: $('#list1 li.special button').click(function(event) { var $newLi = $('<li class="special"><button>I am new</button></li>'); var $tgt = $(event.t...
http://mmowned.org/dragon/slm/menu9.html In an attempt to solve the animation queing in the old version (menu7.html) I tried using .stop() in the dropdown menu. Problem is when you "stop" the dropdown halfway through and then start it again, it breaks the menu and only extends back to where it stopped :/ I'm pretty sure this is really ...
I have a jQuery based accordion style navigation that I am trying to modify. It uses this code: $('.interior #subContent > ul > li > a.drop').click(function(){ $(this).parent().children('ul').toggle("slow"); return false; }); I need to be able to keep it open to the section the active page is on. I can highlight the active link wi...
I can disable one and one by doing this: jQuery('#ListBoxA').attr('disabled','true'); But how can I apply this to multiple items? This does not work: jQuery('#ListBoxA, #ListBoxB, #ListBoxC').attr('disabled','true'); UPDATE Not much markup to show.... <select id="ListBoxA" size="4" name="countrySelectBox"> <select id="ListBoxB" s...
I followed Scott Guthrie's instructions as outlined atL http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx but no avail: intellisence still doesn't work. Any tips? ...
I am using the cycle plugin with pager functionality like this : $j('#homebox') .cycle({ fx: 'fade', speed: 'fast', timeout: 9000, pager: '#home-thumbs', pagerEvent: 'mouseover', pagerAnchorBuilder: function(idx, slide) { // return sel string for existing anchor ...
I have an MVC project in which I have a form with a submit button. I have added a jquery client-side handler that intercepts the form submit event. The javascript function calls the same MVC action that would have been called without the javascript. $("form[action ='/List/CreateItem']").submit( function() { ...
I know I can read the URL of the current page, but is it possible to read the url's of all open tabs? Thanks! ...
I have some HTML that looks like this: <div> <div class="value"> <a href="#" class="clicker">Some Value</a> </div> <div class="heading"> Some Name<img src="loading.gif" style="visibility:hidden"> </div> </div> This could repeat several times, depending on how many values and headings need to be listed. Using jQuery, I'...
I could have swore I have seen this before, but has anyone the Windows 7 breadcrumb feature done in jQuery? ...