Let’s say you have two tables that include towns and cities and you also have two fields in an entity that you have to keep the town and city of customer address. All you want to do is to load towns that are valid for the selected city only. Below you will find how to [...]
In one of my previous articles here, I have written about closing windows without the yes/no prompt. Well, in this article I am going to write about refreshing the parent window’s (referred as opener in javascript DOM) without opener.location.reload() function. This will be especially useful when you click a server side button to open our current window. [...]
After dealing with this situation for about two hours, I have decided to blog this so that you will easily implement your own code into your web page. First of all calling events for buttons in flash has changed a little in Actionscript 3. The new code to implement event is as the following… btnA.addEventListener(MouseEvent.CLICK, [...]
Script Eka is a site that contains very useful scripts like modal windows, password strengthmeters, color pickers, galleries and a lot of other stuff.
Here is another useful piece of code for you. To close the parent window without prompting for “yes” or “no” you can use this function. function closeparentwindow(){ window.open('','_parent',''); window.close(); } And to close the current window without promptiong you can use this function. function closecurrentwindow() { window.opener = top; window.close(); } Be careful over [...]
Internet Explorer 8 is different from the previous verisons in many ways. One of them is the way you debug javascript. IE 8 has its own developer tools and one of them is for script debugging. Press F12 to open developer tools and click script tag to use debugging features of IE 8. Also you [...]
Authentication for CRM 4.0 has been a problem for me for the last few hours as I was trying to authenticate my custom aspx pages with CRM User. You are able to get the Current CRM User from a CRM form easily using the javascript WhoAmI function. But when it comes to the iframes or [...]