close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How can I post an id using a link like <a href="#"></a> instead using a select like <select> <option value="">Elegir cliente</option></select>?

Thread began 8/23/2021 6:45 pm by Jose | Last modified 8/24/2021 11:22 am by Jose | 16 views | 4 replies

Jose

How can I post an id using a link like <a href="#"></a> instead using a select like <select> <option value="">Elegir cliente</option></select>?

I'm trying to get a id using method post with <a href="#"></a> While loading plugin but I don't get it. For example if I use el select like this

<select name="customerID" required="required" class="form-control-file" id="customerID" title="Elija un cliente" onChange="WADFP_Show_Progress('Checkout_form_ProgressMessageWrapper', WADFP_Theme_Options['BigSpin:Pacifica']);framework_load_plugin_url('plugins/checkout/addresses.php',document.getElementById('Checkout_form'),'customers','../','');return document.MM_returnValue">
<option value="">Elegir cliente</option>
<?php
while(!$Customer_RS->atEnd()) { //dyn select
?>
<option value="<?php echo($Customer_RS->getColumnVal("customer_id")); ?>"><?php echo($Customer_RS->getColumnVal("firstname")); ?>&nbsp;<?php echo($Customer_RS->getColumnVal("lastname")); ?></option>
<?php
$Customer_RS->moveNext();
} //dyn select
$Customer_RS->moveFirst();
?>
</select>



I get it working proper but I need to design it like this for better look


BUT THIS METHOD DOESN'T WORK. IT LOOK LIKE NO POST PASSING
<?php
$wa_startindex = 0;
while(!$Profile_RS->atEnd()) {
$wa_startindex = $Profile_RS->Index;
?>
<div class="col-lg-6">
<div class="feature-item">
<h3><a href="#" name="md" class="text-decoration-none" onClick="framework_load_plugin_url('plugins/details.php',document.getElementById('Checkout_form'),'callme','../','');return document.MM_returnValue"><?php echo($Profile_RS->getColumnVal("firstname")); ?> <?php echo($Profile_RS->getColumnVal("lastname")); ?></a></h3>
<input type="hidden" name="md" id="md" value="<?php echo($Profile_RS->getColumnVal("bg_id")); ?>">
</div>
</div>
<?php
$Profile_RS->moveNext();
}
$Profile_RS->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...