Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

simple question
 
alkarim
Guru
 
Total Posts:  368
Joined:  2008-04-10
 

I have .php function call activeNow(); and button for it.

at php script :
<?php
public function activeNow() {
   
echo 'hello world';
   
// and another function () -> echo bla bla bla
}
?>


at design script 
:
<
button onclick "call_now();" >Active !!</button>

at [removed] 
<script>
function 
call_now() {
}
</script>

my question is, what should I must write into javascript if I press the Active!! button, then It will call activeNow() from php script ??

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
alkarim
Guru
 
Total Posts:  368
Joined:  2008-04-10
 

another question : at administrator -> system, Its usually only have ‘SAVE’ BUTTON, now I add a button name ‘ACTIVE’,

the ‘ACTIVE’ button function is to create file, now I’m really confuse how should I do about it… and it use xhtml ( ajax ) that I don’t know .

anyone have idea for this ? solution maybe ...

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top