simple function in javascript or jQuery
£10-20 GBP
Pagado a la entrega
For someone who knows the language this should be a 10 minutes task really.
I have a form with various fields to fill, including:
<input type="text" tabindex="3" placeholder="Enter your city" value="" name="city" id="city" required=""/>
and
<input type="hidden" id="secondary_field" name="secondary_field" value=""/>
Now since I DO NOT own the back-end script the only way for me to get the City name is by copying the value entered in the City field into the Secondary_Field one.
Do it however you like: javascrypt, inline jQuery, jQuery with separate file - this last one being preferred.
The only thing is that IT WORKS.
:)
NOTES:
I know a bit of HTML and JavaScript but not too well, so I spent more than 30 minutes trying different solutions, like:
<input type="hidden" id="secondary_field" name="secondary_field" value=javascript:$('#city').val();/>
OR
[login to view URL]("secondary_field").value = [login to view URL]("city").value
OR
$('#secondary_field').val($('#city').val());
or in the form itself like
<form id="contactform" action="MYADDRESS" method="POST" target="_NEW" onsubmit=javascript:$('#secondary_field').val($('#city').val()); >
or
<script type="text/javascript">
function fillSubValue()
{
var src = [login to view URL]("city"),
dst = [login to view URL]("secondary_field");
[login to view URL]('input', function() {
[login to view URL] = [login to view URL];
});
};
</script>
<form id="contactform" onsubmit=fillSubValue action="MYADDRESS" method="POST" target="_NEW">
I started considering the solution here:
[login to view URL]
but I got no more time to spend on this.
I see automated offers coming in for high prices.
I am only bidding around $5 as for someone who knows the language this should be a 10 minutes task really.
Nº del proyecto: #13877268
Sobre el proyecto
28 freelancers están ofertando un promedio de £14 por este trabajo
Freelance Professional! Let me fix it up for you, ready to start now and have it done for you ASAP! thanks!
Hello, Please message me before you gonna award this project to me I have gone through the project details - I and My team can start working on the project. Looking forward to get your soonest reply Thanks
sir pm me i will finish this asap .. sir pm me i will finish this asap .. sir pm me i will finish this asap .. sir pm me i will finish this asap ..
I will resolve it Working NodeJs,Angularjs,Canvasjs,Chessjs,Underscorejs,Angular Meterial,Ionic framework etc. Develop Web Application, Mobile Application,UI layout with latest Technologies like Angularjs,HTML5,CSS3 Más
Hello, I would really like to help you. This is a simple task. I can complete it in a short time. Please PM me for more details. Thank You
Hello, I am interested to work on it, i have great underatnding over javascript, Jquery and HTML also I have the excellent command over PHP, Mysql, Cakephp, Smarty, Jquery, AJAX. So i am interested to do this pr Más
I have read description... I can do this work right now. Let me know if you are interested. i am comfortable working with following technologies... AngularJS Kendo UI HTML5 CSS3 BootStrap Javascript Jquer Más
Hello. My name is Sergey. I'm front-end/javascript developer from Ukraine with 1,5 years of experience and i'm interesting in making your job. If I understood your task correct - you need to cope one input value to ano Más
It is very easy to solve. I can do this in jquery it is simple. It need only about 4 or 5 line of code. I can solve this within minutes
I have done a lot of jquery and javascript programming including doing entire event registration and donation systems in these languages. I could get this done inside a day and provide support to make sure it works.