I would like a button "btnSubmit2" to be enabled when "btnSubmit1" is clicked. Right now, "btnSubmit2" remains disabled when "btnSumbit1" is clicked. I need the javascript code below fixed to accomplish the objective. Fragments of the script are shown below...
$this->widget('[login to view URL]',array(
'buttonType'=>'submit',
'name'=>'btnSubmit1',
'value'=>'1',
'caption'=>'Investment History Retriever',
'htmlOptions'=>array('class'=>'ui-button-primary', 'style'=>'color: white; background:#46569c; font-size:1.1em; width:24em')
));
?>
</a>
<br>
<br>
<br>
<p style = "font-size:1.2em">Click below to begin the survey once you have uploaded your investment history.</p>
<script type='text/javascript'>
enabler = function(){
[login to view URL]("btnSubmit1").onclick=function(){
[login to view URL]("btnSubmit2").disabled = false;
}
};
enabler();
</script>
<a href="SurveyStart">
<?php
$this->widget('[login to view URL]',array(
'buttonType'=>'submit',
'name'=>'btnSubmit2',
'value'=>'2',
'caption'=>'Begin Investor Survey',
'htmlOptions'=>array('class'=>'ui-button-primary', 'disabled'=> 'true', 'style'=>'color: white; background:#46569c; font-size:1.1em; width:24em')
));
?>
</a>
Hi there, online and ready to get started. I have had a look at the code and I am sure I can fix it for you. I will edit the page for you on your site to make sure the buttons behave as they should -- when btnSubmit1 is clicked btnSubmit2 will be enabled.
Ready to get to work. Let me know.
Thanks,
James
$25 USD en 1 día
4,9 (126 comentarios)
6,5
6,5
8 freelancers están ofertando un promedio de $21 USD por este trabajo
Dear Sir,
I read your requirements.I have good knowledge and experience of web developments with PHP-MySQL, JQuery, Java Script, HTML4/5 and CSS2/3.
You need:-
Button 1 is clicked => Button 2 Enable
Button 1 is clicked => Button 2 Disable
I can do using jquery or js.
Can you send the more details before award the project plz?
Ready to work right now.
Thank you
Best Regards
Sumith
Hi Sir
I can do this now I am free and ready to start your project immediately. Kindly message me so we discuss it further. Wait for your positive response.
I am an experience UI Designer, Website Developer with an experience of 6+ years.
I understand the requirement to disable the button on click event and I can fix this job within 2 hrs.
Thanks!