jquery

Jquery slider (wslider)

I am using JQuery plugin to slide images,, i dont want to load all images i am keeping it in an array and when the image is clicked it pass the src to the next image which will be visible now,,, my problem is the src is passed correctly but not showing the image when i restart the slide show then it show that image but the next is still ...

looking for jQuery toolbar and listbox plugin

Hi, I am looking for 2 jQuery plugins: toolbar and listbox. Can somebody give any suggestions? Eric ...

Jgrid Save cell on button click

HI, I am using afterSaveCell that fires if we modifies the cell then it get fires. My scenario is that i m doing batch update to the database on save change button. But when user edit the cell and got to the other cell then i log the modification in a array. But if user edit the cell and click on the Save Change button the cell focus n...

Problem in jquery enter key event

Hi there, I need a little of your help here. In my case I am having search textbox on b.php, in which user can enter username and hit enter to get the serched user-details. Ok this is so far. Now my search code to deal with database is ready in c.php and i want to call it through b.php with jquery's event. actuaully my a.php is home...

How to restrict drag (disable) in the block?

Hello, How to restrict drag (disable) in the block? Full example <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ var x = 0, setElementMove = 0, getElementMove = $('#drag'); getElementMove.mousedown(...

Year selection in jQuery UI Datepicker

hey guys, m using JQuery UI Datepicker for my form and my script is like below <script type="text/javascript"> $(function() { $("#<%=txtExpiryDate.ClientID %>").datepicker({changeYear:"true"}); }); </script> But this shows only Month selection as prev/next button but i want Year selection also so i use'd .datepicker(...

disable css classes using jquery just like with firebug, is it possible ?

I get the effect that I want using firebug; I disable this: .ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color:#030303; } (actually I only need to disable .ui-state-highlight a {color:#030303}) how could I do this using jquery ? ...

Javascript Regex - Replace { with nothing

Hi, i have a little problem and i have no idea what is wrong var selector_css; var sheet= document.styleSheets[0]; var rules= 'cssRules' in sheet? sheet.cssRules : sheet.rules; for (var i= 0; i<rules.length; i++) { var rule= rules[i]; var text= 'cssText' in rule? rule.cssText : rule.selectorText+' {'+...

JS form fill limit

Is it possible to release the textarea/input where user can write only numbers BUT till 24? Like 1,2,3,...,24. ...

String date and string manipulation with jQuery

Hello, I have a string : 30/09/2010 and I'd like have 09/30/2010 hiw can I do this useing jQuery ? Thanks, ...

XMLHttpRequest cannot load an URL with jQuery

Hi everybody, I'm trying to get some json data from a "remote" website. I run my web service on the 99000 port then, I launch my website on the 99001 port (http://localhost:99001/index.html). I get the following message: XMLHttpRequest cannot load http://localhost:99000/Services.svc/ReturnPersons. Origin http://localhost:99001 is ...

Show element before the clicked one Jquery

Hi All, I have a lot on .meta-entity containers. I add Buttons with .after() $(".entry-utility").after("<div class='show_meta'>Artikel Infos einblenden/ausblenden</div>"); Click on Button should show the .meta-entity container before this button. have some an idea how can i select the "parent" object? <div id="post-314" class="blo...

Jquery UI datepicker default date

Hi, I have a problem with the Jquery UI datepicker, I have searched and searcher and i didn't find the answer.I have the following code: <script type="text/javascript"> $(function() { $("#birthdate" ).datepicker({ changeMonth: true, changeYear: true, yearRange: '1920:2010', dateFormat :...

Why is there no "compound method call statement", i.e. ".="?

Lots of programming languages already have the compound statements +=, -=, /=, etc. A relatively new style of programming is to "chain" method calls onto each other, e.g. in Linq, JQuery and Django's ORM. I sometimes, more often than I'd like, find the need to do this in Django: # Get all items whose description beginning with A items ...

extend jqueryui autocomplete

Hi there, How can I take use of the autocomplete functions to match the following requirements? If suggestion matches more than 10 items, it should instead of showing the suggestions, show the number of entries next to the input If suggestion matches less than 10 items, it should suggest the autocompletion I'm new to jquery and jque...

codeigniter and ajax help

I have a form that has sections hidden until, the correct piece of data is submitted. I am wanting to do this through jQuery and ajax. I was hoping that I would be able show the next element on the form if the last piece entered into the database ok, currently my controller looks like this, function add_career() { $data = array();...

Javascript replace document.write(ln) with jquery hotfix

A seriously flawed and retarded piece of software which goes by the name of "Joomla" is giving me its usual load of headaches. Sample code I have the following code: .... <div id="abc"><!----></div> <script type="text/javascript"> jQuery.get(url,function(data){ jQuery('#abc').html(data); },'data'); </script> .... And...

how do I access the return value of this ajax request?

Hi there, I have this code var stats = { GetMetaData : function() { var url = 'http://www.bungie.net/api/reach/reachapijson.svc/game/metadata/'+storage.get('apikey'); $.ajax({ url: url, success: function(data) { return data; } }); return 'abc'; ...

Image somehow loads twice

It seems i keep stumbling upon strange problems. I'm working on a sort of really simple lightbox thing, but now an image loads twice. I don't know if it's because of it is the center image or because it is stretched (while the rest isn't) but it don't work as it should. I have this html <ul> <li><a href="largeImage1.jpg" class="box">...

change the href of a css link via jquery

<head> <link href="foo.css" rel="stylesheet" type="text/css" /> </head> can I via jquery change the href of this link from foo.css to bar.css ...