I need a little help
Posted: 2020-03-28 13:18
Hello to everyone,
I'm very new about PHP and JavaScript.
I need your help about a simple question, simple for you not for me.
The target is in the same table I have to copy a field in another one using a button.
I wrote this :
$j(function() {
$j(
'<div class="btn-group-vertical btn-group-lg vspacer-lg" style="width: 100%;">' +
'<button type="button" class="btn btn-primary btn-lg">' +
'<i class="glyphicon glyphicon-list-alt"></i> Check Heart Rate' +
'</button>' +
'</div>'
).appendTo('.detail_view .btn-toolbar');
$j("reqhr").clone().appendTo("command");
If I wrote rightly, now I need a string to execute the last string when I click the button
Could you please help me?
Thank you so much
I'm very new about PHP and JavaScript.
I need your help about a simple question, simple for you not for me.
The target is in the same table I have to copy a field in another one using a button.
I wrote this :
$j(function() {
$j(
'<div class="btn-group-vertical btn-group-lg vspacer-lg" style="width: 100%;">' +
'<button type="button" class="btn btn-primary btn-lg">' +
'<i class="glyphicon glyphicon-list-alt"></i> Check Heart Rate' +
'</button>' +
'</div>'
).appendTo('.detail_view .btn-toolbar');
$j("reqhr").clone().appendTo("command");
If I wrote rightly, now I need a string to execute the last string when I click the button
Could you please help me?
Thank you so much