JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 13th, 2008, 04:59 PM
amcswebs amcswebs is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Dubois, PA
Posts: 2 amcswebs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 10 sec
Reputation Power: 0
Other - Dynamic Forms

Is there anyone that can help me.. I have been searching for hours/days... LOL and just do not understand java well enough to code something that will meet my needs.

What I need to do is this.

1. Visitor Enters a weight into a text field on a form.
2. Calculation is performed (from a php function)
3. Result of calculation is displayed on the page.

Now this is a very easy task if you are sending the form input through a calculation and return to the page, but I would like this calculation to be done dynamically without the page being refreshed.

IS this possible? Can you help?

Glen.

Reply With Quote
  #2  
Old March 13th, 2008, 10:38 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 548 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 35 m 44 sec
Reputation Power: 4
dynamic form updates

Repeat 100 times:
Java is not javascript, javascript is not Java.

Anyway, what you are looking for is xmlHTTPrequest aka. AJAX

Luckily there are tons and tons of good tutorials and online examples to get you up to speed.
__________________
WP plugins - Error Reporting, Clean Options
http://www.mittineague.com/dev/er.php
http://www.mittineague.com/dev/co.php

Reply With Quote
  #3  
Old March 14th, 2008, 05:51 AM
amcswebs amcswebs is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Dubois, PA
Posts: 2 amcswebs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 10 sec
Reputation Power: 0
Quote:
Originally Posted by Mittineague
Repeat 100 times:
Java is not javascript, javascript is not Java.

Anyway, what you are looking for is xmlHTTPrequest aka. AJAX

Luckily there are tons and tons of good tutorials and online examples to get you up to speed.


Not sure if anyone has ever said this to you before (probably not as it is kind of rude) but Thank you for nothing.

a) Don't much care if Java is not javascript (and the comment is just a waste of space).

b) Pointing me to a tutorial is also worthless (even if you had pointed me to one) as hours of reading tutorials are hours of wasted time.

Pet Peeve... Why is it so many people feel the NEED to post worthless comments on a board that is supposed to help people. If I wanted to read pages of dribble, I would go to myspace. I asked a specific question for a specific situation.. If you don't know the answer, PLEASE, don't waste the bandwidth of the site.

if "Javascript" can not do this, say so. If it can.. post a solution. Thats what this board is for.

Glen.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Other - Dynamic Forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway