Archivi categoria: javascript

Jquery add, append, prepend, remove child

Starting from child element: appendTo, prependTo Add at the end the selected item to a jquery container. This sintax return the element added, so it can be use in fluent syntax. In this case appendTo or prependTo return liElment. Prepend … Continua a leggere

Pubblicato in HTML5, javascript, jquery | Contrassegnato , , , , | Lascia un commento

CascadingDropdown jquery plugin

CascadingDropdown is a great jquery plugin to implement cascading drop down in javascript I suggest you this 2 demo links. http://www.dnasir.com/github/jquery-cascading-dropdown/demo.html http://www.jqueryscript.net/demo/Dynamic-jQuery-Cascading-Dropdown-Lists-Plugin/ This plugin works great when I navigate to a “create new item” page. The problem I found is … Continua a leggere

Pubblicato in HTML5, javascript, jquery, plugin | Contrassegnato , , , | Lascia un commento

REST web method and AJAX call in ASP.NET page

In this post I don’t speak about new features but an old one. I decided to speak about it because I notice that with all the new method to create a service the old WebMethod have been forgotten. In .Net … Continua a leggere

Pubblicato in .Net, Asp.Net, c#, javascript, jquery | Contrassegnato , , , , , | 1 commento

Javascript parseFloat Culture problem

When you write a page in a italian culture or any culture that use , instead . as a decimal number, parseFloat will truncate the result. So if you need to perform some operation by javascript you need to convert … Continua a leggere

Pubblicato in javascript | Contrassegnato , | Lascia un commento

Add javascript or css to tr created by asp.net GridView

I don’t like too much use GridView controls but in a existing project I found it applyed. My target was only to attach “onclick” javascript event to the row generated. Inside this event it’s possibile access to the item’s column … Continua a leggere

Pubblicato in Asp.Net, c#, javascript | Contrassegnato , , , | Lascia un commento

How to disable RequiredFieldValidator from javascript

If you have to disable a javascript required field validore because you hide some page part use this code

Pubblicato in Asp.Net, javascript | Contrassegnato , | Lascia un commento