Place the following in your jQuery mouseover
event handler:
$(this).css('color', 'red');
To set both color and size at the same time:
$(this).css({ 'color': 'red', 'font-size': '150%' });
You can set any CSS attribute using the .css()
jQuery function.
More Related Contents:
- Using .text() to retrieve only text not nested in child tags
- How can I find elements by text content with jQuery?
- Find text string using jQuery?
- Find a string of text in an element and wrap some span tags round it
- Append text to input field
- auto resize text (font size) when resizing window?
- jQuery if div contains this text, replace that part of the text
- typing animated text
- Remove all HTMLtags in a string (with the jquery text() function)
- How to check with jquery if this conent is null
- Can I open a dropdownlist using jQuery
- Access-Control-Allow-Origin error sending a jQuery Post to Google API’s
- jqGrid: Disable form fields when editing
- How do I block or restrict special characters from input fields with jquery?
- Jquery – How to make $.post() use contentType=application/json?
- Get element -moz-transform:rotate value in jQuery
- Calling a ‘WebMethod’ with jQuery in ASP.NET WebForms
- jQuery – use wrap() to wrap multiple elements?
- How to validate array of inputs using validate plugin jquery
- jQuery: Get the cursor position of text in input without browser specific code? [duplicate]
- jQuery Click fires twice when clicking on label
- jQuery: select an element’s class and id at the same time?
- Why cant I load an external resource from jQuery load method?
- How to Copy Table Row with clone in jquery and create new Unique Ids for the controls
- Creating a hole in a element
- jQuery datepicker- 2 inputs/textboxes and restricting range
- jQuery function after .append
- Display PNG image as response to jQuery AJAX request
- jQuery – disable selected options
- How to delay jquery animation?