React

Escape curly brackets in ID in jQuery

I have a table in SharePoint list view which ID contains curly brackets ‘{9C48B48F-AA4E-4B34-8CE6-37E4C0EBAD8B}-{9B1EEE61-5E3C-4CA1-96CD-DB15199EDC83}’. I tried to select the table using jQuery but on the brackets I’ve got a Javascript error about a sequence of characters. Read more»

React

jQuery. Colorize even and odd rows of table

Tables with at least 20 rows are more readable when its rows look like stripes – even row in one color, odd one in another. Before jQuery we used to add class to each row of table, we made “<tr class=”even”> …</tr>” and “<tr class=”odd”> …</tr>”. Now it’s much easier to do using jQuery. Read more»

React

jQuery. How to get ID of clicked element

When I wanted to get the ID of clickable element using jQuery, I have found out that I don’t remmember such a simple thing. I had to look for it. And I’ve found it 🙂 I had buttons with class “phonebtnCall” and some IDs. I wanted to know which of buttons was clicked. Read more»

React

Change table columns order via jQuery

When you have a table which you can’t edit, you think you can’t do anything with it. It may be a result of an outside procedure or web-service (usually it returns data in XML, but html-table also can be). So, for example, we have a list of Borussia Dortmund players. We know id in list, […] Read more»

React

Popular Posts