Friday 21 November 2014

Firefox dumps Google for search, signs on with Yahoo


Google's 10-year run as Firefox's default search engine in the US is over. Yahoo wants more search traffic, and a deal with Mozilla will bring it.

Now users can search the web in 1997 with a browser from 2014. :)

The change will come to Firefox users in the US in December, and later Yahoo will bring that new "clean, modern and immersive search experience" to all Yahoo search users. In another part of the deal, Yahoo will support the Do Not Track technology for Firefox users, meaning that it will respect users' preferences not to be tracked for advertising purposes.


Mozilla has been working with Yahoo for months on the partnership, and relations with Yahoo's new CEO have been good, Baker said.

Tuesday 4 November 2014

Checked Change event of tree view is not working

I had an answer in the stackoverflow.com site over here:  http://stackoverflow.com/a/26134415/1042848

Allow only decimal numbers in the Textbox using Javascript

Javascript code:

    <script language="Javascript" type="text/javascript">
        function onlyNos(e, t) {
            try {
                if (window.event) {
                    var charCode = window.event.keyCode;
                }
                else if (e) {
                    var charCode = e.which;
                }
                else { return true; }
                if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                    if (charCode === 46)
                        return true;
                    else
                        return false;
                }
                return true;
            }
            catch (err) {
                alert(err.Description);
            }
        }
    </script>

Textbox:

<asp:TextBox ID="txtNumbersOnly" runat="server" onkeypress="return onlyNos(event,this);" Width="146px" CssClass="rightinput"></asp:TextBox>