Category: Client-Side

If you’re developing some HTML code that it can be accessed by thousands of people at the same time, if you use images like this: <img alt="" src="http://myimage" /> You […]
In order to disable the ENTER key in your textbox type input, you have to add the ‘onkeydown’ attribute and call a javascript function that checks the key and avoid […]
You can add new div inside your web page by jquery always you want. You’ve to add the following code in your javascript function: $("#myExistentDiv").append("<div id='MyNewDiv'>This is my dynamic DIV</div>"); […]
You can remove any href that contains specific text inside the link. If you want to remove the link to any page that contains “DispForm” you can do it like […]
We want to hide “Level1” div that contains inside any “Level3” div in this code: <div class="level1"> Level 1A <div class="level2"> Level 2A <div class="level3"> Level 3A </div> </div> </div> […]
In order to avoid ENTER key in your asp:TextBox you’ve to add onkeydown event and control it, like this: <asp:TextBox ID="myTextBox" runat="server" onkeydown="return (event.keyCode != 13);"></asp:TextBox>
<script language="javascript" type="text/javascript"> document.location.href=document.location.protocol + '//' + document.location.host </script>
If you want to use the details view on a list or library and you don’t want to see the list of elements (maybe you need to show only one […]
If you want to hide the quick launch (vertical menu) on a specific page you’ve to do the following: 1. Edit your page. 2. Insert Content Editor wherever you want […]
Para pasar parámetros a través de la URL nos basta con añadir un “?” al final e ir insertando los parámetros que queramos con el patrón “nombre=valor” y separados por […]