close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

where should framework builder function to be called on success reside

Thread began 1/24/2023 2:00 pm by asarcona308398 | Last modified 1/29/2023 12:28 pm by asarcona308398 | 602 views | 10 replies

asarcona308398

where should framework builder function to be called on success reside

Hey Ray,

I have a load plugin to div page that does load in, but a function to populate a select box don't seem to trigger "on success". I tried to relocate the function onto either page and nothing seems to work. I am using the 'functionname()' as the function to call on success without any luck.
I am $_POST in values into the plugin page to run a Query which works... I have Show if's applied which work if query returns/ or not... they also work...

Should I be naming the function in a certian format ie. 'name' or 'name()'... or in my case 'intervals(startString, endString)' ....i have tried all and nada!

The plugin page will work on it's own when not brought in as plugin.

Any help appreciated.

UPDATE:

It seems that if any function is called I recieve this errer in DevTools....

Uncaught TypeError: on_success_start is not a function
at pluginxmlHttp.<computed>.<computed>.onreadystatechange (ajax.js:66:9)
pluginxmlHttp.<computed>.<computed>.onreadystatechange @ ajax.js:66

XMLHttpRequest.send (async)
framework_ajax_plugin @ ajax.js:127
framework_load_plugin_url @ Menu_dev.php:22
onclick @ Menu_dev.php:75
ajax.js:127 XHR finished loading: POST "http://localhost/bootstrap/webassist/framework/ajax_wrapper.php?plugin_from=localhost/bootstrap/Menu_dev.php&plugin_file=cGx1Z2lucy9vcGVuY2xvc2VkLnBocA==".
framework_ajax_plugin @ ajax.js:127
framework_load_plugin_url @ Menu_dev.php:22
onclick @ Menu_dev.php:75

remove the function called and all is good

Attached Files
Base.zip
plugin.zip

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...