I am using sugar crm community edition 6.5.17.
but its not working.
Can anybody guide's me how to call .js file in editviewdefs and when i can put .js file.
Thanx for your reply.
There is a permission issue.
After give 0777 permission on editviewdefs.php its working.
As far as I know, you can use YUI Event in this js file like "onContentReady". Here is one example on YUI:
YUI Library Examples: Event Utility: Using onAvailable, onContentReady, and onDOMReady
More details about js / ajax:
Improving SugarCRM client-side performance: The SugarCRM AjaxUI « Sugar Developer Blog – SugarCRM
Your custom js file should be placed on custom/modules/<Yourmodule>/<YourCustomFile>.js
Here is how to include the file in editviewdefs.php
Retrieving data ...