Pass a value to a Module?? - Joomla! Forum - community, help and support


hi there guys!

i'm updating module wrote , need help.
for starters current version o module makes query database , outputs results on page.

the new version i'm tryin make needs recieve value (id).
this time module needs have selectable items (maybe html list) send value can adjust query accordingly , display result. without loading page (ajax).

i have no idea how pass value module... believe thru url works components...

i'm guessing "menu" items have onclick execute javascript code pass value , reload module (ajax) new results database...

any suggestions? maybe link or 2 read on topic.

thanks!

update:
    so far found how load javascript file within module , have menu item this:
    <a onclick="javascript: testmenu();">click me!</a>
    to execute function.. simple alert message!

hi,

if want id url, use this:

code: select all

$id = jrequest::getint('id');


olaf





Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support