[jQuery] Re: dans blog jquery calculate installment

2009-09-28 Thread runrunforest
it just not runs at all. Anyway, I managed to write my own function to do similar purpose. Thanks for getting back On Sep 28, 12:55 pm, RobG robg...@gmail.com wrote: On Sep 28, 1:26 pm, runrunforest craigco...@gmail.com wrote: Hi, I've got a script from dansblog (link

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread DBJDBJ
@sid Can we have the url to the page which shows your solution ? -- DBJ ps: an simple generic and reusable async worker : function do_async( callback , optional_host, optional_microseconds ) { var that = optional_host || this ; var timer_id = window.setTimeout ( function () {

[jQuery] Re: Mailing list for general JavaScript discussion?

2009-09-28 Thread ryan.j
You'll never find a more wretched hive of scum and villainy. and javascript. On Sep 27, 5:12 pm, Karl Swedberg k...@englishrules.com wrote: If you have a very thick skin and can look past the ranting of   arrogant know-it-alls, the comp.lang.javascript Usenet group can be a   great resource.

[jQuery] check if checkbox is checked dynamicallyH

2009-09-28 Thread runrunforest
Hi, I have a html like this input type=checkbox id=priority /span class=presult0 USD/ span I want when checkbox is checked, the span will have 500 USD. When checkbox is unchecked the span will return 0 USD. This is what I've got, have no idea why not work. if ($('#priority').is(':checked'))

[jQuery] Cookies

2009-09-28 Thread craigeves
I'm really stuck in adding the cookies plugin to the sortables script I have below. I don't even know where to begin. Can anyone help? script type=text/javascript $(document).ready(function(){ $(.column).sortable({

[jQuery] Re: Every post I make, I get an mail error.

2009-09-28 Thread Rick Faircloth
I got some of those, too, not long ago, but haven't had any recently. From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: Sunday, September 27, 2009 10:05 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Every post I make, I get an

[jQuery] Re: Prevent jagged text in IE

2009-09-28 Thread ryan.j
deprecating the UA interrogation was a bad move imo, simply because sometimes you legitimately want to know what browser somebody is running, rather than whether it has support for feature-x. it takes 5 mins to write a function to find the browser/os/whatever (and five seconds to copy/paste one

[jQuery] Re: Lightbox or PrettyPhoto or Fancybox break when submitting content with jEditable plugin

2009-09-28 Thread kyleduncan
i think this is actually a problem with the Django app that's powering our site, not javascript or jquery plugins.

[jQuery] remove anything thats not number

2009-09-28 Thread runrunforest
Hi, I have a value that include word letter and some sign such as $. I want to remove all of them just keep the number. For example: i want $99,99 USD become 99 or 100 can someone please give the function

[jQuery] Re: remove anything thats not number

2009-09-28 Thread ryan.j
parseFloat( yourStr ) On Sep 28, 10:18 am, runrunforest craigco...@gmail.com wrote: Hi, I have a value that include word letter and some sign such as $. I want to remove all of them just keep the number. For example: i want $99,99 USD become 99  or 100 can someone please give the

[jQuery] Re: remove anything thats not number

2009-09-28 Thread ryan.j
you said 99 or 100, parseFloat will give 99.99 from your example - if you specifically wanted an integer you could parseInt( yourString ) and that will round up. To round a number down use Math.floor on the floating-point number parseFloat gives. On Sep 28, 10:22 am, ryan.j

[jQuery] Re: Cookies

2009-09-28 Thread craigeves
I forgot to say that the script above is based on the JQuery UI framework. On Sep 28, 9:32 am, craigeves craige...@googlemail.com wrote: I'm really stuck in adding the cookies plugin to the sortables script I have below. I don't even know where to begin. Can anyone help? script

[jQuery] Re: remove anything thats not number

2009-09-28 Thread runrunforest
thank you very much On Sep 28, 4:26 pm, ryan.j ryan.joyce...@googlemail.com wrote: you said 99 or 100, parseFloat will give 99.99 from your example - if you specifically wanted an integer you could parseInt( yourString ) and that will round up. To round a number down use Math.floor on the

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread ryan.j
presumably the HTML for these ~3k records are being generated server- side somewhere - can you not split/group the results before they hit the browser? On Sep 28, 3:36 am, Sid nikhil...@gmail.com wrote: Thanks, guys. Michael G., your solution worked like a charm. setTimeout seems to mess

[jQuery] Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
Hi, Reasonably new to web building. I am now just updating my site with jQuery (first time user). I would like to implement an Ajax username checker on a new client registration form. All the tutorials and examples I can find use jQuery and php. Unfortunately, I have taught myself Access and

[jQuery] Simple Jquery AJAX post

2009-09-28 Thread mattastic
Could soneone please show me an example of a simple ajax post to a coldfusion page, with a loading graphic? I cant find an appropriate example in the documentation. Thankyou

[jQuery] Validate

2009-09-28 Thread Clifford Brown
Hi, Is there any way to use Jquery Validate with default (intial) values in a input, and use the script to ignore the intial value as an option. Eg. input name=sub_name type=text id=sub_name value=Name: class=autoclear required title=Name / The system should ignore 'Name:' as an acceptable

[jQuery] [Tablesorter] Problem with unsortable columns

2009-09-28 Thread Martin
Hi everybody, I started using the great tablesorter 2.0 plugin. In one of my tables all but two columns should be sortable. I use the following code to achieve this: script type=text/javascript $(function() { $(#spiele).tablesorter({sortList:[[1,1]], locale: 'de',

[jQuery] keepp getting NaN vlue

2009-09-28 Thread runrunforest
Hi, I'm making a calculator for freight customer It seems I'm on the right path. But there is two bugs i need help. The TOTAL TO PAY value always seem to appear as NaN at first instead of default 3. And the function of TOTAL TO PAY only work after checkbox is checkd, I need it work

[jQuery] Re: keepp getting NaN vlue

2009-09-28 Thread Giovanni Battista Lenoci
runrunforest ha scritto: Hi, I'm making a calculator for freight customer It seems I'm on the right path. But there is two bugs i need help. The TOTAL TO PAY value always seem to appear as NaN at first instead of default 3. And the function of TOTAL TO PAY only work after checkbox is

[jQuery] How to handle dynamic clicks?

2009-09-28 Thread lionel28
Hi, I am trying to get the correct div from a form I did (I intentionally left the brackets open so it displays here) span id=doedit_$comment[commentid] a onclick= return getCommentID($comment[commentid]) and for the jQuery $(document).ready(function() { function getCommentID(cid) {

[jQuery] Re: check if checkbox is checked dynamicallyH

2009-09-28 Thread Leonardo K
$('#priority').click(function(){ if( $(this).is(':checked') ) $('.presult').text('500 USD'); else $('.presult').text(''); }); On Mon, Sep 28, 2009 at 05:24, runrunforest craigco...@gmail.com wrote: Hi, I have a html like this input type=checkbox id=priority /span

[jQuery] Re: webpage load lightbox with video

2009-09-28 Thread Kayhadrin
A quick google search provides this article as the first result: http://vidlivery.com/2008/nov/06/tutorials/quick-tip-create-video-gallery-thickbox keywords: thickbox tutorial flash video On Sep 27, 6:51 pm, Shravan Garlapati shravan0...@gmail.com wrote: Hi,     I want the website to show a

[jQuery] Re: Mailing list for general JavaScript discussion?

2009-09-28 Thread banacan
Hi, I have used the SitePoint forums with some success. Here is the link to the Javascript forum: http://www.sitepoint.com/forums/forumdisplay.php?f=15 Good luck. On Sep 27, 8:23 am, Hunt Jon jona.hunt...@gmail.com wrote: Hi all, I know it's a bit off-topic, but which mailing list do you

[jQuery] Re: lavalamp category problem

2009-09-28 Thread ksprague
There is a common template, but I'm not sure if the class category is addressed correctly in there. Would there normally be a correspondence between the classes in the template and the classes in lavahelper? Sorry if this is a dumb question. On Sep 26, 12:00 pm, Charlie charlie...@gmail.com

[jQuery] Re: IE: Cursor still displays hourglass symbol after unblocking

2009-09-28 Thread 34gl3 3y3
Do you want a quick fix? Edit blockui.js: Add els[1].style.cursor = 'default'; After var els = full ? $('body').children().filter('.blockUI') : $ ('.blockUI', el); Grtz, On Sep 28, 2:08 am, MorningZ morni...@gmail.com wrote: around this bug within the actual JQueryBlockUIplugin Wow, really?  

[jQuery] Re: keepp getting NaN vlue

2009-09-28 Thread Shawn
further to that, you can do var distance = parseInt($(#distance.val(), 10); Using the radix (the second parameter - 10 in this case), forces the specific conversion you'd like. When dealing with dates at least, leaving out the radix can sometimes result in abnormal behavior that is VERY

[jQuery] Re: keepp getting NaN vlue

2009-09-28 Thread Liam Potter
I made some changes and it's now working, the problem was for the var's r2 and r3 on load there were no values for it to find, causing the NaN. here are my changes: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html

[jQuery] Re: Cookies

2009-09-28 Thread Mike McNally
It might help if you'd mention what it is you want to *do* with the plugin. On Mon, Sep 28, 2009 at 3:32 AM, craigeves craige...@googlemail.com wrote: I'm really stuck in adding the cookies plugin to the sortables script I have below. I don't even know where to begin. Can anyone help?

[jQuery] Re: Cookies

2009-09-28 Thread craigeves
Sorry. Stupid me. I want the script to remember the position of the divs and the collapsible state. Thanks Craig On Sep 28, 1:44 pm, Mike McNally emmecin...@gmail.com wrote: It might help if you'd mention what it is you want to *do* with the plugin. On Mon, Sep 28, 2009 at 3:32 AM,

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread MorningZ
Take an example page in php that you want to mimic, and simply have asp send back to the browser the same information On Sep 28, 3:58 am, factoringcompare firstfacto...@googlemail.com wrote: Hi, Reasonably new to web building. I am now just updating my site with jQuery (first time user).

[jQuery] How to add some string in attributes?

2009-09-28 Thread Teddy Hong
If I have a tag image like this.. img alt=My Account src=/images/menu-my-account.png/ and when hover that image I want became like this img alt=My Account src=/images/menu-my-account-hover.png/ How to code this with jquery? Thanks

[jQuery] Synchronous call in JQuery?

2009-09-28 Thread Mesquite
Is there a JQuery way to execute a custom function 'after' another custom function is executed? The second function must wait until the first one has finished. (Not asynchronous but synchronous) Important: I don't want place the call to the second function in the first one. for example:

[jQuery] Re: Simple Jquery AJAX post

2009-09-28 Thread Mark Gorman
i did try ealer to send a reply but that did not seem to apper so heres a shorter version http://docs.jquery.com/Ajax has everything you need, to make a loading image come up on start you can just ether in your click function inlude $(.loading).show(); or use the event

[jQuery] Re: Simple Jquery AJAX post

2009-09-28 Thread Mark Gorman
http://docs.jquery.com/Ajax has everything you need but a simple example would be... $(document).ready(function(){ $.ajaxStart(function(){ $('.loading').show(); }); $.ajaxStop(function(){ $('.loading').hide(); }); //i have trouble with the post permiters so i always do it the {} way but you

[jQuery] Re: How to add some string in attributes?

2009-09-28 Thread Liam Potter
$(function(){ $(img).bind(mouseover,function(){ $(this).attr(src,/images/menu-my-account-hover.png); }); }); but this is the worst way you can do rollovers. You should be doing this in pure CSS, and the best way would be to use an image sprite. Teddy Hong

[jQuery] Re: Synchronous call in JQuery?

2009-09-28 Thread Erik Beeson
Your question doesn't make very much sense. In your example, doSomething2 would execute after doSomething1 finished, so it is synchronous. Perhaps you could provide an example of what you're actually trying to do? --Erik On Mon, Sep 28, 2009 at 6:24 AM, Mesquite koen.buekenh...@gmail.com

[jQuery] Re: Mouseout event problem

2009-09-28 Thread James A
Start of the week bump... On Sep 26, 7:28 pm, James A jamesaal...@gmail.com wrote: Hi there, Real newbie to jquery but things are starting to become clearer. I am building a website for a studio i have just set up -http://www.birchstudio.co.uk/test- and am having trouble with the menu

[jQuery] Re: Synchronous call in JQuery?

2009-09-28 Thread Mesquite
I'm trying to load a JQuery dialog containing content from the backend. JQuery places this dialog vertically in the middle of the page when the dialog open call is executed. But the moment that happens, another function is still loading data and parsing that data in the dialog. So it is not

[jQuery] Re: Synchronous call in JQuery?

2009-09-28 Thread Xi Shen
http://plugins.jquery.com/project/ajaxqueue maybe this is what you want. On Mon, Sep 28, 2009 at 10:55 PM, Mesquite koen.buekenh...@gmail.com wrote: I'm trying to load a JQuery dialog containing content from the backend. JQuery places this dialog vertically in the middle of the page when

[jQuery] jquery not working on content loaded by ajax

2009-09-28 Thread black.horizons
I've got the following code: $(document).ready(function() { $(a.market).click(function (event) { alert( $(this).attr(id) ); }); }); it works on a test link that i have in a div a href='#' class='market' id='1234'Test/a But when I load new data (it's loaded by a

[jQuery] Special for you!

2009-09-28 Thread bharani kumar
http://cfi.iflywestwind.com/nEACWal3iJ.html

[jQuery] validate plugin step by step form

2009-09-28 Thread adexcube
Hi, I'm creating a step by step form using jquery ui tabs and validation plugin, the problem is that I've got just one form ( and I have to ) so on first step the form is validated but all errors an others steps are displayed. I'm using an approach of

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Raymond Ho
3000 divs are freaking huge. it would be better to do it in ajax and load them by chunks instead of putting it all in one huge HTML page. On Sep 28, 6:17 pm, ryan.j ryan.joyce...@googlemail.com wrote: presumably the HTML for these ~3k records are being generated server- side somewhere - can

[jQuery] Re: jquery not working on content loaded by ajax

2009-09-28 Thread black.horizons
SOLVED: $(a.market).live('click', function(event) { alert( $(this).attr(id) ); }); easy! On Sep 28, 4:05 pm, black.horizons black.horiz...@gmail.com wrote: I've got the following code: $(document).ready(function() {         $(a.market).click(function (event) {                

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread William Chang
For 3000 divs and a lot more in the future, then I recommend you do an AJAX to load the content when the user scrolls down. Examples: Slashdot (slashdot.org) Google Reader I know there are jQuery plugins to help you load on scroll, please Google. Good Luck, William Chang

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
You shouldn't need to use a named function, or an inline onclick. If you can move that id attribute into the a tag itself, you could do: spana href=# id=doedit_$comment[commentid] ... /a/span and then your jQuery would be: $(document).ready(function() {

[jQuery] Access a checkbox in a datalist

2009-09-28 Thread Lihong
Hello, I'm trying access a checkbox in a datalist. Here is the datalist: asp:DataList runat=server ID=dlUserList onitemdatabound=dlUserList_ItemDataBound ItemTemplate table class=UserList tr td asp:Label ID=lblForenames runat=server Text='%# Eval (Forenames) %'

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
OK, I am trying to get this example to work : http://papermashup.com/jquery-php-mysql-username-availability-checker/ This is the php code I can't mimic: ?php include(dbConnector.php); $connector = new DbConnector(); $username = trim(strtolower($_POST['username'])); $username =

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Sid
@Mike M. You're still looping through 3000 jQuery objects and invoking the setClass() method. I haven't tried it but I suspected it will take roughly the same time as the show() method. It does seem logical that the actual showing of the div will be faster if the browser does it natively. The

[jQuery] Re: ajaxQueue not aborting ajax calls with Autocomplete

2009-09-28 Thread jmunning
Anyone have any ideas about this? I'm stuck on this. Thanks On Sep 22, 2:47 pm, jmunning jasonmunn...@gmail.com wrote: Hi all, I am using the bassistance autcomplete plugin version 1.1 along with the bundled ajaxQueue.js file. When text is inputted into the autocomplete, it seems to be

[jQuery] Re: ajaxQueue not aborting ajax calls with Autocomplete

2009-09-28 Thread Jörn Zaefferer
Can you provide a testpage? Jörn On Mon, Sep 28, 2009 at 7:59 PM, jmunning jasonmunn...@gmail.com wrote: Anyone have any ideas about this?  I'm stuck on this. Thanks On Sep 22, 2:47 pm, jmunning jasonmunn...@gmail.com wrote: Hi all, I am using the bassistance autcomplete plugin version

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Mike McNally
@Mike M. You're still looping through 3000 jQuery objects and invoking the setClass() method. I haven't tried it but I suspected it will take roughly the same time as the show() method. It does seem logical that the actual showing of the div will be faster if the browser does it natively.

[jQuery] Re: Synchronous call in JQuery?

2009-09-28 Thread Charlie
how about opening dialog in callback of AJAX loading the content? Xi Shen wrote: http://plugins.jquery.com/project/ajaxqueue maybe this is what you want. On Mon, Sep 28, 2009 at 10:55 PM, Mesquite koen.buekenh...@gmail.com wrote: I'm trying to load a JQuery dialog containing

[jQuery] Re: Mouseout event problem

2009-09-28 Thread Karl Swedberg
Seems the mouseover/mouseout events are being triggered multiple times. You probably want to stop them from triggering if #panel is already being animated. Try something like this: jQuery(document).ready(function() { var $panel = jQuery('#panel'); // Expand Panel

[jQuery] Accordion UI height issue in Google Chrome

2009-09-28 Thread -e-train
Hi All - Having another issue related to the accordion ui widget. In google chrome the initial inline height set by the accordion.js is calculating incorrectly on the initial page load. when the page is refreshed or you navigate to another page and then return, the height is set correctly. I

[jQuery] (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-28 Thread Thiago Miranda de Oliveira
Hi.. I´ve upgraded my validate plugin to the 1.5.5 and I was having a problem: I have an email that needs to be checked if it already exists by ajax, and I was using the Validate Remote Method. In my old Validate version ( 1.5) it works great, but in the 1.5.5 version when I validate the email

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread MorningZ
This is the php code I can't mimic: Really? the code is super simple: - Open connection to the database - Take the posted value of username, trim it, and make lower case - Clean up the string to help prevent SQL injection attack - Take that username and check against the database - echo

[jQuery] Cant' read XML with IE 8

2009-09-28 Thread ximo wallas
I'm reading the contents of an XML perfectly with FF but IE doesn't load the contents of the XML, everything seems to be ok, can somebody tell me what's wrong?    var xml = $.ajax(         {             type: GET,             url: xmlFile,             dataType: xml,             success:

[jQuery] Checking/unchecking parent checkbox

2009-09-28 Thread evanbu...@gmail.com
Hi I've been using jQuery a couple of months and I'm really having a blast with it but need a little help with this problem. I have a table of records generated from a database that looks like this. Each record has a checkbox with a unique id followed by a person's name and employment status.

[jQuery] how to submit a form after validation please ?

2009-09-28 Thread slimshady
Can anyone tell me why my form action on line 113 does not fire after I get successful validation ? http://gist.github.com/195643 After the form validates I want it to POST submit to the url please.

[jQuery] Re: Checking/unchecking parent checkbox

2009-09-28 Thread evanbu...@gmail.com
I thought this would do it but no luck $(this).parents(checkbox:first).attr('checked', false); On Sep 28, 2:42 pm, evanbu...@gmail.com evanbu...@gmail.com wrote: Hi I've been using jQuery a couple of months and I'm really having a blast with it but need a little help with this problem. I

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
I can’t get it to work. Something strange is happening. To manually check if the client side code is working I put “1” in the server side page with a .php extension and sure enough I can get the code to work. If I do the same with a .asp page it has no effect. Any thoughts what’s going on? On

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread lionel28
Charlie, Thank you very much. I was able to do a split so I get actual value from your code and all is fine. I do whatever I want with php, but could you recommend a book for Javascript. Example: for the split I had to do a Google search :thinking: A book with all those easy code like yours,

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
Hi Lionel: I've not bought a JavaScript book in ages. But the one that I learned from a while back is the JavaScript Bible by Danny Goodman. A quick Amazon search shows that a 7th Edition is in pre-release status (glad to hear) :) If you want a jQuery book, there are a couple of ways to go.

[jQuery] Re: How to handle dynamic clicks?

2009-09-28 Thread Charlie Griefer
Incidentally... not sure why you'd need to use split() for your needs there? Could you post some code or explain what your requirement is? You may be going about it the long way (or I may be misunderstanding what you're trying to do) :) On Mon, Sep 28, 2009 at 12:42 PM, Charlie Griefer

[jQuery] Re: how to submit a form after validation please ?

2009-09-28 Thread Leonardo K
Just a tip: You don't need to create a new validator function for your select. Instead of using value=none for your default option use value= and just add required:true to the rules. about your problem: Try to put the alert inside the submitHandler function to know if your form is validating.

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread MorningZ
Why do you have a page with a php extension? As for helping further, it would be a huge help if you post some non- working code... you could have a bad selector, bad syntax, who knows... On Sep 28, 3:15 pm, factoringcompare firstfacto...@googlemail.com wrote: I can’t get it to work.

[jQuery] Playing with jquery animate

2009-09-28 Thread Armand Datema
Hi Been playing a bit with jquey animate, here is a sample of an animated header im working on for portfolio section of my upcoming site. http://www.todnn.com/pixelani/portfolio.htm -- Armand Datema CTO SchwingSoft

[jQuery] IE and DOM issues

2009-09-28 Thread Yazan
Hi all, I've been wrangling with trying to get my jquery-powered global nav to work consistently in IE8 (in Compatibility Mode) and IE6 and 7, but with no luck. You can view the site here: http://67.23.44.204/ The top nav (Products, Inspirations, etc. should each have a set of subnavs that show

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
OK, thank you for taking the time out to look at this issue for me. Ok this is the code client side page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta

[jQuery] Re: IE and DOM issues

2009-09-28 Thread James
I didn't look through the code in detail, but have you considered using the latest version of jQuery library (v1.3.2)? On Sep 28, 10:22 am, Yazan yfahm...@gmail.com wrote: Hi all, I've been wrangling with trying to get my jquery-powered global nav to work consistently in IE8 (in

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Michael Geary
Mike, the requirement here isn't just to show or hide all 3000 entries in one fell swoop. Sid needs to be able to show and hide individual entries depending on a filter. So there's no avoiding looping through all the entries, whether in JavaScript or on the server. Sid, assuming you want to do

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Mike McNally
On Mon, Sep 28, 2009 at 3:34 PM, Michael Geary m...@mg.to wrote: Mike, the requirement here isn't just to show or hide all 3000 entries in one fell swoop. Sid needs to be able to show and hide individual entries depending on a filter. So there's no avoiding looping through all the entries,

[jQuery] Re: IE and DOM issues

2009-09-28 Thread Yazan
Yes, I have actually :) Are you suggesting that would fix the issue? I haven't looked closely at what 1.3.2 offers over 1.2.6, but I didn't think that that would necessarily fix the issue. I think there might be some dependencies on 1.2.6 in other libraries we're using, so I'm not sure it would

[jQuery] Apply CSS to dynamic content after it loads

2009-09-28 Thread Sloan Thrasher
Hi! I've got a page that loads dynamic content, sometimes including links. The CSS seems to apply to the loaded CSS, except for a rule that adds an offsite icon to the end of the link. I've used Firefind to verify the css selector in the css, and it applies to the correct elements, but the

[jQuery] Re: Apply CSS to dynamic content after it loads

2009-09-28 Thread Charlie Griefer
you can chain on an .addClass('myClassName') ? On Mon, Sep 28, 2009 at 3:09 PM, Sloan Thrasher sl...@sloanthrasher.comwrote: Hi! I've got a page that loads dynamic content, sometimes including links. The CSS seems to apply to the loaded CSS, except for a rule that adds an offsite icon to

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread James
When you return response in your AJAX, it's not 1. It's htmlhead.../html. jQuery doesn't automatically go through your HTML and look in the body to find the 1. In your server-side code, you don't return the whole HTML page. You just return the String 1 (without the quotes). Such that if you load

[jQuery] Re: IE and DOM issues

2009-09-28 Thread James
I'm not suggesting that would fix the issue, but most of the time using the latest version of the code will get you better results. However if you have dependencies on the old library that you can't change (as there are no updates to those other plug-ins), then I guess we'll have to delve into

[jQuery] Re: (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-28 Thread James
Could you provide some code on how you're setting the error message ... already exists? On Sep 28, 7:49 am, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Hi.. I´ve upgraded my validate plugin to the 1.5.5 and I was having a problem: I have an email that needs to be checked if it

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
Thank you James that worked. I can now move on and try and code the DB connection. On Sep 28, 10:22 pm, James james.gp@gmail.com wrote: When you return response in your AJAX, it's not 1. It's htmlhead.../html. jQuery doesn't automatically go through your HTML and look in the body to find

[jQuery] Re: IE and DOM issues

2009-09-28 Thread Yazan
FYI, I did a quick test using 1.3.2, and while it didn't seem to break anything, it didn't fix the issue either. We'll have to do some regression tests if we upgrade our jquery version, so for the time being we'll stick with 1.2.6. Any suggestions for fixing this issue besides using

[jQuery] Any one knows equivalent non php plugin for this?

2009-09-28 Thread zweb
http://www.frontpageslideshow.net/ Anyone knows equivalent plugin which I can use in python/django site. This plugin is php specific

[jQuery] Re: (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-28 Thread James
I've done a quick test on it on 1.5.5 and I'm experiencing the duplicate message issue also using the following message options: remote: function() { // $(#email) is the input field for the email address return $(#email).val()+' already exists'; } remote: function(email) { return

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
OK, now got the backend working with the following code: %...@language=VBSCRIPT% !--#include file=Connections/car.asp -- % Dim rsUser__MMColParam rsUser__MMColParam = 1 If (Request.Form(username) ) Then rsUser__MMColParam = Request.Form(username) End If % % Dim rsUser Dim rsUser_numRows

[jQuery] Re: how to submit a form after validation please ?

2009-09-28 Thread slimshady
I don't understand what you are replying to. I have an alert inside the submitHandler, How do I get POST to my form to happen after it is validated. That IS NOT happening. Thanks . On Sep 28, 3:58 pm, Leonardo K leo...@gmail.com wrote: Just a tip: You don't need to create a new validator

[jQuery] huge newb question

2009-09-28 Thread Pitchwife
Hello all, I'm trying to run through the simplest tutorials on jquery and for some reason I can't get any of the jquery code to work. I've downloaded jquery and I've made sure that this file is in the same directory as jquery-1.3.2.js. This is the code taken from the tutorial: html head

[jQuery] Modal Dialog with a datepicker inside, works one time, then never...

2009-09-28 Thread alexbariv
Hi everybody. Let me introduce myself. I'm a developer located in Venezuela (latin america), and i have like 2 years using Jquery in every project that came to my hands. Its a pleasure to meet you all. For begin, i have a little problem that i hope you can giveme some light here: I have

[jQuery] Re: huge newb question

2009-09-28 Thread James
Try using: return false; Instead of: event.preventDefault(); On Sep 28, 11:21 am, Pitchwife dandau...@gmail.com wrote: Hello all, I'm trying to run through the simplest tutorials on jquery and for some reason I can't get any of the jquery code to work. I've downloaded jquery and I've made

[jQuery] Re: huge newb question

2009-09-28 Thread Liam Byrne
Try a return false instead of event.preventDefault() Liam Pitchwife wrote: Hello all, I'm trying to run through the simplest tutorials on jquery and for some reason I can't get any of the jquery code to work. I've downloaded jquery and I've made sure that this file is in the same directory

[jQuery] (Bassistance validate) Require inputs based on dropdown select

2009-09-28 Thread Andrew
Info: - jquery-1.3.2 - jquery.validate-1.5.5 - form with 1 dropdown select and 4 text inputs Setup: - all 4 text fields are not initially required. Issue: The first input element is a required dropdown select. If the user selects option 1, then text field 1 2 need to be required. If the user

[jQuery] Re: (Bassistance validate) Require inputs based on dropdown select

2009-09-28 Thread James
Sorry, here's a fix of the rules ('input' is suppose to be 'select') (these are untested): options = { rules: { mySelect: { required:true }, myfield1: { required: function() { return ($(select[name=mySelect]).val() == '1'); } },

[jQuery] Re: validate plugin step by step form

2009-09-28 Thread James
You can create different options in a variable an assign it to $.validate(). var option1 = { rules: { ... } messages: { ... } } var option2 = { rules: { ... } messages: { ... } } Call the appropriate one depending on which step you're in: $(#saverForm).validate(option1);

[jQuery] Re: (Bassistance validate) Require inputs based on dropdown select

2009-09-28 Thread James
Suppose your fields look like this: select name=mySelect option value=1Option 1/option option value=2Option 2/option /select input type=text name=myField1 / input type=text name=myField2 / input type=text name=myField3 / input type=text name=myField4 / Your validation rules would look

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-28 Thread James
extra_var does not map to the ID of the input field. It is the name that is going to be sent along with the AJAX request to your script. (e.g. /autocomplete_lookup/? q=my_search_text_blahablhablahextra_var=12345) You have to change it so it's: 'extra_var': function() { return

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-28 Thread James
By the way, 'extra_var': function() { return $(#extra_var).attr('id'); } Would return extra_var since $(#extra_var).attr('id'); is extra_var. I'm not sure what you're trying to achieve if that's not what you want. On Sep 28, 2:34 pm, James james.gp@gmail.com wrote: extra_var does not

[jQuery] File upload - json result ERRORZ!

2009-09-28 Thread Flynsarmy
There appears to be some sort of bug happening if you do a file upload and try to return a json result. If you submit this page without any file selected in the file input an alertbox will pop up saying: {data:div} however if you select a file in the file input then press submit the alert will

[jQuery] ajax complete function not being called

2009-09-28 Thread Alex
I'm making a call to a Twitter JSON feed, and when I pass an incorrect username, jQuery's ajax complete method never gets called. An example of a JSON response that causes complete not to be called (nor error, nor success) is: http://twitter.com/users/show.json?screen_name=bhdjbhubeuhfbfbjfbjf

[jQuery] Re: keepp getting NaN vlue

2009-09-28 Thread RobG
On Sep 28, 9:21 pm, runrunforest craigco...@gmail.com wrote: Hi, I'm making a calculator for freight customer It seems I'm on the right path. But there is two bugs i need help. The TOTAL TO PAY value always seem to appear as NaN at first instead of default 3. And the function of

[jQuery] Ajax post on save dialog box

2009-09-28 Thread lionel28
Hi, I am loading tiny Mce editor in a dialog box which updates the div on save I am trying to save in database 'Save Comment': function() { var content = tinyMCE.get('editor').getContent(); $.ajax({ type: POST, url: comments.php, data: do=editcommentc=+ cid +pagetext=+ content + }); Alert

  1   2   >