[jQuery] dimension of an object
I am trying to find the dimension of a div named content and print them to my screen. I am getting the top and left, but not the width and height. Here is what I have written so far: $(document).ready(function(){ var p = $(#content); var position = p.position(); var h = $(#content).height($(body).width); var w = $(#content).width($(body).width); $(#content).text( //n left: + position.left + , top: + position.top); $(#content).text( /n); $(#content).text( width: + w + height: + h); ...
[jQuery] Pass form value
I am working on translating a website where instead of repotting the pages I just move the changed content into a DIV using jQuery “ajax_load”. The code is simple and of the form: [code] var loadCreditCardDonation = 'content/creditCardDonation.php'; $('#load_credit_card_donation').click(function(){ $('#rightContent').html(ajax_load).load(loadCreditCardDonation); }); [/code] I am now working on a page that I am stuck on. I have a form (see below) which asks the user to choose an amount for a donation to this charity and then submit the form to the “authorization page”. What I have been fumbling about for the last half day is how to write a function to pass the selected value to the “authorization page” which I should bring into the same DIV which is #rightContent. [code] div id=donationForm form name='formDonate' method ='request' onsubmit='return isNumeric();' action='content/creditCardAuthorize.php' fieldset legendDonation Form/legend br / p class='submit'input type='radio' name='donation' value='10' onclick='noteAmount()' / nbsp; $10/p p class='submit'input type='radio' name='donation' value='20' onclick='noteAmount()' / nbsp; $20 /p p class='submit'input type='radio' name='donation' value='30' onclick='noteAmount()' / nbsp; $30 /p p class='submit'input type='radio' name='donation' value='40' onclick='noteAmount()' / nbsp; $40 /p p class='submit'input type='radio' name='donation' value='50' onclick='noteAmount()' / nbsp; $50 /p p class='submit'input type='radio' name='donation' value='75' onclick='noteAmount()' / nbsp; $75 /p p class='submit'input type='radio' name='donation' value='100' onclick='noteAmount()' / nbsp; $100/p p class='submit'input type='radio' name='donation' value='' onclick='noteAmount()' / nbsp; Other Amount /p br / plabel for='amount'Amount $/label input type='text' name='amount' id='amount' disabled='false'//p p class='submit'input type='submit' id=donateButton value='Continue' //p br / /fieldset /form /div [/code] Any help, tutorial or example would be appreciated.
[jQuery] Re: help combine LightBox jMyCarousel effect?
Is this what you are trying to do? http://www.rouse.ws/jCarouselDemo.php If so send a link to the web page that does not work and let me take a look at it. J M On Jan 16, 1:37 pm, bhupal fren4...@gmail.com wrote: I want the combine effect of these two plugins.. LightBoxhttp://leandrovieira.com/projects/jquery/lightbox/; jMyCarouselhttp://www.enova-tech.net/eng/lab/jMyCarousel but when i tried to combine these plugins.. the resulting page looks good in my localhost but don't work well when uploaded to real server. please help me get the horizontal scroll with lightbox effects for thumbnails. regards.
[jQuery] Re: Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?
See this link: http://db4free.blogspot.com/2006/06/sorting-of-numeric-values-mixed-with.html