Bug Tracker

Opened 6 years ago

Closed 6 years ago

#9223 closed bug (worksforme)

Live blur focus

Reported by: bdmc@… Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.6
Keywords: Cc:
Blocked by: Blocking:


I cannot get the following script to work. The 'focus' function works, but the 'blur' function does not. I tried to run it with JsFiddle but to no avail.

Here is the script

function initiateFieldLabels(){
  		focus: function() {
			var value =$(this).val();
				$(this).after('<input type=\"hidden\" id=\"'+$(this).attr('id')+'-default\" value=\"'+value+'\" />');	
 		blur: function() {
			var value = $('#'+$(this).attr('id')+'-default').val();

Change History (2)

comment:1 in reply to: ↑ description Changed 6 years ago by Benji6996

Here is an example:


comment:2 Changed 6 years ago by timmywil

  • Component changed from unfiled to event
  • Priority changed from undecided to low
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.