PHP Developers Network
http://forums.devnetwork.net/

Make a WP page with JavaScript
http://forums.devnetwork.net/viewtopic.php?f=13&t=145036
Page 1 of 1

Author:  Vegan [ Tue Dec 19, 2017 1:14 pm ]
Post subject:  Make a WP page with JavaScript


Author:  requinix [ Tue Dec 19, 2017 9:48 pm ]
Post subject:  Re: Make a WP page with JavaScript

It doesn't have to be a form, but yes that would be the way to go. Presumably you'll be putting these calculated values somewhere on the page (not necessarily into a form field) - you can either have a "calculate" button that does the math, or automatically do the math whenever the inputs change values.

Author:  Vegan [ Wed Dec 20, 2017 2:19 pm ]
Post subject:  Re: Make a WP page with JavaScript


Author:  requinix [ Thu Dec 21, 2017 2:01 am ]
Post subject:  Re: Make a WP page with JavaScript

You can definitely attach events to it. But why are you creating the form with Javascript? Why can't you just write HTML for it? I'm sure it would be easier.

Author:  Vegan [ Thu Dec 21, 2017 4:41 pm ]
Post subject:  Re: Make a WP page with JavaScript


Author:  Vegan [ Thu Dec 21, 2017 5:31 pm ]
Post subject:  Re: Make a WP page with JavaScript


Author:  requinix [ Thu Dec 21, 2017 11:32 pm ]
Post subject:  Re: Make a WP page with JavaScript


Author:  Vegan [ Fri Dec 22, 2017 4:41 pm ]
Post subject:  Re: Make a WP page with JavaScript

I was rethinking the code slightly with more focus on working with apps my MyFitnessPal which lacks the ability to accurately estimate real basal metabolic requirements

i even pondered using an embedded spreadsheet to do the work, I am very good with excel

for some reason the span is removed form the code, probably due to the parser which converts code to XHTML

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/