jquery

Custom Radiobutton using CSS/JS/JQuery

I have a little web admin tool I'm working on that allows a user to view & edit the properties on a DB Object. Most of the settings are "yes/no/don't know" type properties. There's quite a lot of settings to display so managing screen real-estate & usability is important. When I first scaffolded the UI, I was using Test 1 in the abo...

animated text with in a scroll bar

Hi I have implemented a scroll bar with in table column. Here i want to scroll the text like marquee. I placed the content with in that scroll div. But my problem is that . i want to stop the marquee by clicking on the scroll bar. simply when page load marquee(text move from bottom to the top)will be active when clicking or dragging th...

Is there a jQuery equivalent to prototype's defer?

Is there a jQuery equivalent to prototype's defer? I'm looking for something that will delay the execution of a script until all of the scripts in the page are finished executing. Thanks! PART II: Is there any way to see if there are other setTimeouts in the queue and delay execution until after they fire? I see in the comments tha...

jQuery $.ajax, error handler doesn't work

Hello I noticed that this simple code doesn't work the way it is supposed to work... function test() { $.ajax( { 'url' : 'test/GameConfiguration.json', 'dataType' : 'json', data : { a : 'aaa' }, cache : false, method : 'get', timeout : 10000, //10 secs of timeo...

adding jquery onto a link

I'm having some trouble adding a javascript variable onto the end of my link here's my code var locid = $.trim($(this > '.locid').text()); $(this).prepend('<a class="booknow2" href="../../availability/default.aspx?propid=' + locid + '"><span>Check availability &raquo;</span></a>'); Any help would be appreciated Thanks Jamie ...

How can I test if the current request is an ajax request in a Controller?

In some cases I'm sending jQuery.get() requests to an Action Method, and in other cases it's a browser request. Is there any way for me to differentiate between them so I can return different action results accordingly? ...

Jquery cycle slider linking problem

Hi. I am working on a simple jquery cycle slider, but am having problems linking the text anchors to a html page. Here is a rough version of the slider works at the moment. http://www.mitchellwood.co.uk/slideshow Any help would be really appreciated, as I am a novice when it comes to jquery. Thanks, Mitch ...

jquery odd behaviour of collapsible/moveable panels with drag/drop within them

First of all, huge kudos to 'Web Developer Plus' for writing most of the initial code! I have a list of 'items' which I can drag into any one of the blue boxes inside the widgets, and then sort them. This works fine. It's only when I start toggling these widgets (showing/hiding), or moving their positions, that things start going weird....

jQuery memory leak with repeated .ajax calls

I'm using the following pattern which is leaking memory in Firefox: $(function() { (function() { var callee = arguments.callee; $.ajax({ url: '...', success: function() { ... setTimeout(callee, 1000); }, error: function() { ... setTimeout(callee, 1000); } }); })(); ...

why is my jquery change() method not getting executed in jira?

hello, more jira issues. I've got a customfield that i've atatched a change() method to. The plan is to update the built in version field when my custom field changes but at the moment the code never gets executed. <script type="text/javascript"> jQuery(function($){ $('#customfield_10004').change(function(){ alert("changing")...

JSON Data cannot be matched to web service signature

I still can’t seem to get this to work.I’ve tried string arrays object arrays dictionaries. I might be formatting my JSON incorrectly however I am using the labs_JSON plugin. If I remove my data and test the webservice it calls correctly. The : My code looks as follows : HTML : <div style="display: block; float: left;"> <asp:R...

IE8 error with javascript file which has jQuery functions?

I'm getting this error in IE8: Page Error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5;. NET CLR 1.1.4322;. NET CLR 2.0.50727;. NET CLR 3.0.04506.30;. NET CLR 3.0.4506.2152;. NET CLR 3.5.30729;. NET4.0C) Timestamp: Wed, 1 Sep 2010 11:15:04 UTC Message: Object does not support this propert...

Question about jquery hover function

hello, I make in html a dl construction like this: <dl id="faq"> <dt id="vraag1">Lorem ipsum dolor sit amet consectuteur?</dt> <dd id="vraag1-antwoord"><p>Nullam scelerisque congue commodo. Pellentesque condimentum sem ac enim vestibulum quis mollis dolor pellentesque. Nullam scelerisque ...

jQuery trying to insert HTML of another div dynamically?

This is really hard to explain. I have some divs with an id within a table <table id="dgAvailable"> <tr> <td> <div id="HEYD"> </td> </tr> <tr> <td> <div id="HANW"> </td> </tr> </table> i need to fill those divs with this content <div class="evenprop"><h3>Hanworth</h3><span class="locid" style="display:none">HANW</span></div> <div ...

Reload a page using jquery only when previous reload has finished

Hi, I have a page which currently refreshes itself every 10 seconds. The page runs a series of database queries and shows the results. The problem is that sometimes the queries take up to a minute to run but the page still refreshes every 10 seconds so I end up with 6 sets of database queries being run, and so on. I know this as I log ...

jQuery: replace() or wrap() http://name.tld/request_url?parameter with <a href="this">...</a> ?

Ist there any better way to replace/wrap the h*tp://name.tld/request_url?parameter or h*tps://name.tld/request_url?parameter text in some certain html elements with an <a href> HTML <div id="posts"> <div class="post"> Tweet text 1 http://google.com and other text. </div> <div class="post"> Tweet text 2 https://www.google...

jquery live() with mouseover not working

HI there This is my code $('.fc-event').live("mouseover",function(){ if (!$(this).data("init")) { $(this).data("init", true); $(this).draggable({ appendTo: 'body', ...

Live-updating jquery marquee

Hello. I'm looking for a pseudo-marquee with jquery, looking like the one on the twitter home page. The ideal features would be : Using an HTML list to work Updating with Ajax when less than X elements remains to display Stopping on mouse over with callback Does that exist somewhere, or should I just create it myself ? Thanks. ...

How do I stop the fadeOut from triggering if menu is already open, using Jquery?

Hi All, I'm unsure why my code triggers the fadeOut() effect if the menu is already open? See code below: $('.rtmenu').click(function(e) { e.stopPropagation(); }); $('.rtmenu').mouseout(function(){ $(document).one('click',function() { $('.rtmenu').fadeOut(200); }); }) Any help would be greatly appreciated ...

getJSON not returning anything...

Hi guys, The JSON function below is not returning anything... $.getJSON(formUrl, function(data) { alert(data) $('.response').html('<p>' + data.title + '</p>' + '<p>' + data.description + '</p>'); }); the formUrl is correct and returning data in the form of {"title":"Smashing...