#102856
Joko Pitoyo
Participant

this work for me, but when submit, no data send to action

 

<form id=”profileForm” method=”post” action=”../scripts/user/save.php”>

<div class=”smart-form-row”>
<label>
Login Name:
</label>
<smart-input class=”underlined” form-control-name=”login”></smart-input>
</div>
<div class=”smart-form-row”>
<label>
E-Mail:
</label>
<smart-input class=”underlined” form-control-name=”email”></smart-input>
</div>
<div class=”smart-form-row”>
<div class=”smart-form-row”>
<label>
Street:
</label>
<smart-input class=”underlined” form-control-name=”street”></smart-input>
</div>

<div class=”smart-form-row”>
<label>
City:
</label>
<smart-input class=”underlined” form-control-name=”city”></smart-input>
</div>

<div class=”smart-form-row”>
<label>
State:
</label>
<smart-input class=”underlined” form-control-name=”state”></smart-input>
</div>

<div class=”smart-form-row”>
<label>
Zip Code:
</label>
<smart-input class=”underlined” form-control-name=”zip”></smart-input>
</div>
</div>
<div class=”smart-form-row submit”>
<!– <smart-button class=”success” form-control-name=”submit” type=”submit”>Submit</smart-button> –>
<smart-button id=”btnCancel” class=”small-button error”>Cancel/Close</smart-button>
<smart-button id=”btnSave” class=”small-button success”>Save</smart-button>
</div>
</form>

 

//javascript

document.getElementById(‘profileForm’).submit();