Hi,
I wanna control the field edit ability by using js magic file.
How to access $memberInfo array in the javascripts???
Thanks in advance!!!1
Aaron
Re: accessing $memberInfo in javascripts file
Re: Re: accessing $memberInfo in javascripts file
$memberInfo array is accessible only server-side, while the JavaScript magic files run on the client-side ... So, you need to create a server-side PHP script to retrieve the array, and you can then access it via an Ajax request from the JavaScript file.
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.