Rich-text Reply

Placeholder Text does not disappear on the variation

marianosoler 02-15-16

Placeholder Text does not disappear on the variation

[ Edited ]

Hello everyone !;  Just doing a mobile experiment but having trouble with the placeholder text that does not disappear, when the original behave well, and off course is affecting the test, what would be the most common problem?  my programmer and I have attempted to solve the problem adding  some code in the JavaScript Experiment in the "OPTIONS"  section, ( code shown below ) but it did not work.., any clue?

best Regards from Argentina !

Mariano

 

 

$('jsPhone').focusin(function() {
var _this = $(this);
_this.removeAttr('placeholder');
});
$('#jsDocumentNumber').focusin(function() {
var _this = $(this);
_this.removeAttr('placeholder');
});

MartijnSch 02-16-16
 

Re: Placeholder Text does not disappear on the variation

Hi Mariano,

Could you describe a bit more in detail what you're trying to get done? What it looks like that the first part of the script is not using any working selectors as it's not referring to any class or ID in the code itself (. or #). That's why the second part of the code looks much better and should be usable.

Martijn.