Archives by Tag 'JQuery'

ASP.NET MVC POST HTML rich text data to the server incompletely.

By admin - Last updated: Sunday, July 5, 2009

Sometimes, when using javascript or JQuery to perform manual POST rich html content to the server, the server could misunderstood the parameters and the data passing in. For example, if you want to POST parameterised data. title=mytitle&content=helloworld=firsttest As you might notice helloworld=firsttest is actually user data, but by just posting the data above, the server [...]

JQuery, highlighting table td cells by its value

By admin - Last updated: Monday, April 28, 2008

I was reading at JQuery and come up with a testing script for highlighting score cells according to the values within html table. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=”http://www.w3.org/1999/xhtml”> <head>     <script src=”../Scripts/jquery.js” type=”text/javascript”></script>                            <script type=”text/javascript”>   [...]