Monday, 10 March 2014

yes/no confirm pop up dialog box using jquery.





Hi Guys,

I am writing this post because some one comment on my blog and asked me for this requirement, i am happy to help him,

http://anuragsfdc.blogspot.in/p/salesforce-limits.html

his requirement is to show Yes /No buttons in place of Ok/Cancel buttons of javascript confirm function.

so for this i am creating a custom pop up dialog using JQuery.

here the code for same:-

here the screen shot:-


hope it helps, happy coding...

Thanks

Friday, 7 March 2014

SOQL Query on vf page using javascript without any controller.






Hi friends,

Many times you need record value on vf page for validation / viewing or for any other reason,
then you have to write a custom controller for query record.

here the example which show how you can query from vf page without any controller,
simply use JavaScript for query.


you can change the query according to your requirements.

Hope it helps
happy coding...:)
thanks
Anurag Jain