Question : How do I remove class names that start with a specific string?

I have some bloody old Infragistics grids that output multiple dynamically generated class names on elements. I want to get rid of these classes. Here is a basic example:

<table id="table1" class="ig_001 ig_002 myClass">
...
</table>

Using jQuery, how do I find and remove the classes that start with "ig_"?

Help! :)

Answer : How do I remove class names that start with a specific string?

I use Veeam and am quite pleased. If you do upgrade, you can download, install, and trial Veeam Backup/Replication for 30 days. It's easy to setup, install, & use and support is pretty good if you need it.

Regards,
~coolsport00
Random Solutions  
 
programming4us programming4us