I am using a plugin for my wordpress website and need to adapt a script to accommodate my needs.
i am trying to achieve where a dropdown selection populates 3 other fields based on the selection to either 1 or 0
For example if a home win is selected then the home win will populate a field value to 1 and set the draw and away win fields values to 0, same senario for the draw and away selection.
Here is the starting code that needs a quick amendemnt to achieve this outcome.
var val1 = $("select[name='item_meta']").val();
if (val1 == 'Home Win')
else if (val1 == 'Draw')
else if (val1 == 'Away Win')
Bu iş için 15 freelancer ortalamada £20 teklif veriyor
so basically you would like using jquery to be able to adjust the values in text boxes based on selections in a specific drop down Relevant Skills and Experience I have tons of experience in web dev, including JS and Daha Fazla
Hi, good day, I'd like to help you , I think you may need one or two lines, I can do an example and show you via anydesk. Relevant Skills and Experience js developer Proposed Milestones £10 GBP - fix the code
Hello Sir . How are you. I have read your post and very interested in your project. I am wp developer from Russia. I have a lot of experience with wp, php, jquery and so on for more than 2 years. Relevant Skills and E Daha Fazla
Hello, i'am really excellent in Js/PHP/WP with many years of experience and i can help you with your script. Can you provide me a link to your website ? and more details about the calculation. Relevant Skills and Expe Daha Fazla
Hello, I have gone through your requirements and it’s seems easy to accomplish for me as I worked for more than 2 years in Wordpress and JS. Can you send me the url of ur form. Thank you