Solved

php and jquery website

Posted on 2014-12-26
10
79 Views
Last Modified: 2015-01-03
recoverymaps period com

contact us and login
is php form

but I do not see where the form is posting.
How can form have no posting page

and how is this website coded
I see php and jquery
0
Comment
Question by:rgb192
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 167 total points
ID: 40519242
If a form has no ACTION attribute then it submits to itself.
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 40519250
Please clarify...

Is this what you're asking about?
http://www.recoverymaps.com/
0
 

Author Comment

by:rgb192
ID: 40519260
yes that is the website.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 109

Assisted Solution

by:Ray Paseur
Ray Paseur earned 167 total points
ID: 40519279
It looks like the site uses jQuery and AJAX to load its data.  Have you tried contacting the authors about how it is built?  I'm not convinced guessing is going to be as fruitful as direct inquiry.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
ID: 40519386
The form on the Contact page uses javascript to check and submit the form.  If you look at "GoEditVaildate()", you can see that.  As Gary said, since there is no 'action' attribute, it will submit to itself.  This site will tell you more about what is used:  http://builtwith.com/recoverymaps.com
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 40519580
Hey, Dave: builtwith.com is pretty cool!  I just tried it on a few sites and it's really got a lot of accuracy.  Glad you shared that.

Just a sidebar note, while the "submit to itself" principle is true as long as only HTML is involved, I believe it's possible for JavaScript to change the contents of the action= attribute.  In the case of recoverymaps, the action= target appears to change to this upon submit (adding the URL parameter):

http://www.recoverymaps.com/contactus.html?pro_msg=asucc
0
 
LVL 58

Expert Comment

by:Gary
ID: 40519650
the action= target appears to change to this upon submit (adding the URL parameter):

http://www.recoverymaps.com/contactus.html?pro_msg=asucc

No it doesn't, it submits to itself end of story
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40519727
I think I got http://builtwith.com/ from Gary.  And Gary is right, that is the same URL, they query string doesn't change that.  And they are running '*.html' pages thru the PHP interpreter.
0
 
LVL 58

Expert Comment

by:Gary
ID: 40520033
I think I got http://builtwith.com/ from Gary.
;o)
0
 

Author Closing Comment

by:rgb192
ID: 40529247
jquery ajax, builtwith, form submits to itself

thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question