Results 1 to 5 of 5

Thread: jquery

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167

    jquery

    3.468964085456 3.47., jquery, . , , .

  2. #2
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    o .
    Code:
    var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
    dec e . num e .
    , , 100 (10 ), , 100.
    Code:
    var result = Math.round(num*100)/100;
    round, floor ceil.

    jQuery,
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  3. #3
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  4. #4
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by hotris View Post
    ... jquery...

    . . , .
    , !

  5. #5
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    Pesho. , . jquery - PHP jquery genn. , . .
    Code:
    $( function(){
    
    	$("table#calc input").change( function(){
    										   
    			
    			$(this).parent().siblings("td:last").prev()
    			
    			.text( parseFloat( $(this).parent().siblings("td:first").next().next().text() ) *(1- (parseFloat( $(this).val() )/100) ));
    	} );
    
    }
    );
    jquery . . javascript jquery.
    Last edited by hotris; 17th January 2010 at 20:03.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |