[jQuery] numeric formatter

2009-09-29 Thread factoringcompare.com
Hi, Newbie learning jQuery. Failing miserably. I am trying to implement http://decorplanit.com/plugin/ autoNumeric(). Automatically adds commas to numeric fields. Got the plugin working fine. Need code to copy contents of one text box to another (on blur) and then remove commas by running $.f

[jQuery] Strip out all of the commas in numeric text field

2009-09-29 Thread factoringcompare.com
Hi, New to jQuery. I would like to strip out all of the commas in numeric text field called test on blur. New to jQuery. I have had a go at coding would it work? $('input#test').val($('input#test').val().replace(/,/g,'')); and ... how do i calll it?

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread factoringcompare.com
lling jQuery to "listen" for the blur() event on the > element with id="test" (line 1 above). > > Your code was correct, but you can replace the $('input#test') with $(this), > since $(this) will be a reference to the element that triggered the blur. >

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread factoringcompare.com
ferred to as $(this).  You can also use "plain ol' > javascript" and use 'this' (no quotes).  Depends on what you're doing with > it. > > $('#test').blur(function() { >      alert(this.id); >      alert($(this).attr('id'));  // they do t

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread factoringcompare.com
mpletely new to you is exactly why you should be reading the > docs :) > > Does the code below run? > > On Tue, Sep 29, 2009 at 1:27 PM, factoringcompare.com < > > > > > > firstfacto...@googlemail.com> wrote: > > > Thank you. JQuery i

[jQuery] Re: Strip out all of the commas in numeric text field

2009-09-29 Thread factoringcompare.com
uot;test" (by virtue of $('#test'). > > Do you have an element with id="test" ? > > On Tue, Sep 29, 2009 at 1:53 PM, factoringcompare.com < > > > > > > firstfacto...@googlemail.com> wrote: > > > No it doesn’t work.

[jQuery] Error message

2009-10-11 Thread factoringcompare.com
Hi, Three values must add up to 100%. I have used two selects; #Stock_materials and #Stock_WIP with then third #Stock_Finished automatically displaying the result. Issue is that I want to highlight #Stock_WIP in red with an error message if the total in Stock_WIP is =>100. How do I add it into t

[jQuery] password strength meter

2009-10-15 Thread factoringcompare.com
Hi, I’m using jQuery: form wizard plugin (http://home.aland.net/sundman/) with a password strength meter plugin by http://www.rvdevsign.net/ressources/javascript/jpassword-plugin-jquery.html. The form wizard breakes up a long form into smaller chuncks. Last page the user can create an account.

[jQuery] Re: password strength meter

2009-10-16 Thread factoringcompare.com
Anybody got an idea with this one . On Oct 15, 10:44 am, "factoringcompare.com" wrote: > Hi, > > I’m using jQuery: form wizard plugin (http://home.aland.net/sundman/) > with a password strength meter plugin   > byhttp://www.rvdevsign.net/ressources/javascri

[jQuery] Form Plugin

2009-10-16 Thread factoringcompare.com
Hi Complete newbie now completely out of depth! I have built a form using form wizard plugin http://home.aland.net/sundman/. It caters for the intergration of “Form Plugin” http://malsup.com/jquery/form/. I now want to post the form using the “Form Plugin” AJAX. I am using asp for severside.

[jQuery] Re: Form Plugin

2009-10-18 Thread factoringcompare.com
Can anybody help? On Oct 16, 9:52 pm, "factoringcompare.com" wrote: > Hi > > Complete newbie now completely out of depth! > > I have built a form using form wizard pluginhttp://home.aland.net/sundman/. > It caters for the intergration of “Form Plugin”http://malsup

[jQuery] Re: jQuery form plugin

2009-10-18 Thread factoringcompare.com
Can you post your full code so we can see? On Oct 17, 11:46 pm, Boray Eris wrote: > http://www.pidizayn.com/virtualsub/jqform > > First form is ok. But second one that pulled with jquery not working. > What's wrong?

[jQuery] Div change

2009-11-09 Thread factoringcompare.com
Hi, When changes with a AJAX response I would like to fire a alert. What am I doing wrong? $(document).ready(function() { $("#MyResult").change(function (){ alert('hi'); }); });

[jQuery] JavaScript switched off

2009-11-10 Thread factoringcompare.com
Hi, What’s the best way to redirect when a users browser has JavaScript switched off? I currently use something like the below in the but it isn’t W3C compliant. Javascript is disabled Redirecting

[jQuery] Round numbers

2009-11-15 Thread factoringcompare.com
Hi, The below calculates a couple of textboxes and then allows for the user to click an up or down image to re calculate decreasing or increasing a number. Question is how can I round up the result to no decimal places? And ….. . any suggestions on how to improve the code would be good. $(docum

[jQuery] Re: Round numbers

2009-11-15 Thread factoringcompare.com
Hi, Great, I have a a go at putting into my code but can't can you suggest how? On Nov 15, 4:06 pm, PiotrJaniak wrote: > Hi, > > to round up results u can use Math.ceil(value); > > On 15 Lis, 16:10, "factoringcompare.com" > > > > wrote: > > Hi,

[jQuery] Re: Round numbers

2009-11-15 Thread factoringcompare.com
; > > On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < > > > > firstfacto...@googlemail.com> wrote: > > Hi, > > > Great, I have a a go at putting into my code but can't can you suggest > > how? > > > On Nov 15, 4:06 pm, PiotrJaniak w

[jQuery] Re: Round numbers

2009-11-15 Thread factoringcompare.com
  }); > > $("#Decrease").click(function() { >      $("#forthBox").val( Number($("#forthBox").val()) - 5 ); >   $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number > ($ > ("#secondBox").val()) )/100 )-  Number(

[jQuery] Ajax calls with jQuery

2009-12-06 Thread factoringcompare.com
Hi Guys’ I have hit a complete brick wall on this one. I have an ASP page that lists out a DB into 3 columns. Each row has a unique ID number. When the user updates a checkbox I would like to fire off an AJAX update to my DB. I have made the page that’s ready to receive the unique ID Number and

[jQuery] Script stops working

2009-12-06 Thread factoringcompare.com
Hi, The below script collects a links ID when clicked and then posts via ajax. Works fine on plan page. When I dynamically load links dynamically via ajax the script stops working. The ajax page is collecting information via ASP so I don’t have any Jquery script issues. I can’t work out why its s

[jQuery] jQuery: form wizard plug-in & plug-in: Validation

2009-12-11 Thread factoringcompare.com
Hi, I’m using the Validation plug-in with Form Wizard (http:// home.aland.net/sundman/). I want to change the position of the error message from directly following the element. To explain; following each input I have a tool tip image. I would like the error message to either appear directly below