function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kalpesh_007Kalpesh_007 

java script help needed..

hi,

 

An salesforce custom object doesn’t support JavaScript, I am not able to run JavaScript for the object, I have even tried some simple code like alert(), but it doesn’t work, Does anybody knows how to solve this problem.

 

In IE the error:- "object doesn't support this property or method"

 

in Mozilla and safari error:-result of an expression "Util.stripCustomFunctionFromObjectPrototype" not a function[undefined]

 

javascript seems to work for all custom objects except this object.

any help will be appreciated .

 

regards,

kaalp

Ankit AroraAnkit Arora

Sample code of your javascript here would be appreciated.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

Kalpesh_007Kalpesh_007

sample code can be any code of javascript as i have tried some basic javascript like alert() but still it doesn't work

Chamil MadusankaChamil Madusanka

Hi,

 

Try this example from my blog.

 

http://salesforceworld.blogspot.com/2011/06/javascript-with-visualforce-pages.html

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Chamil's Blog

Kalpesh_007Kalpesh_007

My code is on a custom details button on a custom object.