Đã hoàn thành

add stripslashes to php form, add javascript to form

(1) on a php form (/secure/merchant-info/[url removed, login to view] - see image: [url removed, login to view] )… need to add a stripslashes function…

here's the issue… in step 4 of the form, when selecting an alcohol with a single quote ( ' ) in the name (eg. Jack Daniel's) a backslash is displayed (in the liquor details table) once the user clicks 'View Selected'… need to get rid of the backslash. i added this functionality on line: 575 but cannot figure it out here.

(2) need to add some javascript to the following file: /secure/liquordata/[url removed, login to view] (see image: [url removed, login to view] )…

when the user selects 'TYPE' i need javascript to auto populate a hidden input field (code line: 119) that corresponds to the appropriate value for subcat_id.

for example….

if the user selects 'Domestic Beer' i need the 'subcat_id' hidden field to be populated with '8'…

if the user selects 'Gin' i need the 'subcat_id' hidden field to be populated with '2'… and so on… i've created an 'id' tag for each option to let you know what value should populate the hidden field based on selection

need same javascript to be written for when the user selects 'SIZE'. the hidden field (code line: 165)for size is 'subcatSize_id'… ***** i can probably do this part myself after you have created the code for 'subcat_id' *****

let me know if you have any questions.

Kĩ năng: HTML, Javascript, PHP

Xem nhiều hơn: liquor, javascript to c++, gin, beer, backslash, add info, add functionality, table jpg, php function secure, php tag, form step, single form, form image, auto add, add field code, add quote, table javascript, javascript user type, php step step, issue javascript, javascript issue, hidden auto, php form hidden, quote form php javascript, form input

Về Bên Thuê:
( 19 nhận xét ) SAN JOSE, United States

ID dự án: #1633725

Được trao cho:


hi ready to start work

$30 USD trong 1 ngày
(22 Đánh Giá)

5 freelancer đang chào giá trung bình $34 cho công việc này


Ready to start now! please check pmb

$30 USD trong 1 ngày
(36 Nhận xét)

hi sir, i am ready to do the job. Regards

$30 USD trong 0 ngày
(48 Nhận xét)

Hello, both of the tasks are easy to fix. Let me help you with it. Thanks.

$30 USD trong 1 ngày
(18 Nhận xét)

Hi, We have thoroughly read your requirements and believe that we can deliver exceptional results. Experienced osCommerce developer ready to begin your project. Please check your PMB and let me know. We hope you wi Thêm

$50 USD trong 5 ngày
(18 Nhận xét)

Hello,sir. I can do this job. Please check pmb.

$30 USD trong 0 ngày
(4 Nhận xét)