[jQuery] Change row colors of table based on content

2009-10-19 Thread Gewton Jhames
Anybody want to discuss a way to change row colors of table based on content, for example: +-|---+ |acess|COSTUMER | |-| | 1 | joseph | | 2 | mary| | 3 | john| | 4 | joseph

[jQuery] Alternate colors of a list ( )

2008-09-05 Thread Gewton Jhames
Alternate background-color of trs of a table is very easy with jquery, but, anyone knows how to alternate these colors of an list? ? I mean, alternate the colors of the s of the list Thanks!

[jQuery] Get a request inside $.ajax()

2008-08-19 Thread Gewton Jhames
I with to open a page in the same browser window. But it's only when a POST request return an error, link the sample below: $.ajax({ type: "POST", url: "/url/", dataType: "json", data: data, success: function() { }, error: function() {

[jQuery] Remove an element ONLY if exists

2008-08-18 Thread Gewton Jhames
There's a way to remove a element by his id, but first check if it exists? thanks.