Ajax/JS fix
- or -
Post a project like this3371
$50
- Posted:
- Proposals: 12
- Remote
- #658485
- Awarded
React CakePHP WordPress Jquery CodeIgniter Web Developer php Yii MySQL Javascript Laravel
New Delhi
⭐⭐⭐⭐⭐ PHP * WORDPRESS * MAGENTO * * SHOPIFY * MYSQL * JQUERY * OPENCART * HTML5 * CSS3 * YII FRAMEWORK * JQUERY MOBILE * JQUERY UI
Lucknow
55218076198268998422369427098455855477230503693731743742383798190828355
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
General information for the website: Allow submission of selected div via PHP post
Description of requirements/features: I have a form which gives user a choice of weeks - they pick a week and then they are displayed a list of days for that week.
The days are listed as text each within its own DIV in a row - I need to allow the user to select one div only, enter some other HTML form fields and then submit the form so the form submission includes all the normal HTML form fields as well as chosen DIV value.
For example normal form submission might be:
Array ( [week] => 2015-01-12 [hours] => 6.2 [submit] => Submit )
I need it to be:
Array ( [week] => 2015-01-12 [day] => 2015-01-14 [hours] => 6.2 [submit] => Submit )
where [day] => 2015-01-14 is taken from the value of the chosen DIV. If the chosen value was 2015-01-15 then it would include [day] => 2015-01-15 and so on
I have already got the AJAX etc written to allow me to display the correct days and so on - all I need is the part to allow the value of the chosen DIV to be submitted with the form POST.
Extra notes:
Description of requirements/features: I have a form which gives user a choice of weeks - they pick a week and then they are displayed a list of days for that week.
The days are listed as text each within its own DIV in a row - I need to allow the user to select one div only, enter some other HTML form fields and then submit the form so the form submission includes all the normal HTML form fields as well as chosen DIV value.
For example normal form submission might be:
Array ( [week] => 2015-01-12 [hours] => 6.2 [submit] => Submit )
I need it to be:
Array ( [week] => 2015-01-12 [day] => 2015-01-14 [hours] => 6.2 [submit] => Submit )
where [day] => 2015-01-14 is taken from the value of the chosen DIV. If the chosen value was 2015-01-15 then it would include [day] => 2015-01-15 and so on
I have already got the AJAX etc written to allow me to display the correct days and so on - all I need is the part to allow the value of the chosen DIV to be submitted with the form POST.
Extra notes:
Jason D.
100% (67)Projects Completed
113
Freelancers worked with
97
Projects awarded
33%
Last project
19 Nov 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies