jQuery actions for HTML attributes and input values