Link to home
Start Free TrialLog in
Avatar of enigma1234567890
enigma1234567890Flag for Ireland

asked on

How to enter red text to right of form if value is null Java Script

Ho do i get red text entered if a user forgets to enter text ina  form.  I want the text to the right of the form and dont want a popup alert.  Just some text for the user to read.
ASKER CERTIFIED SOLUTION
Avatar of Lee
Lee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of enigma1234567890

ASKER

Its java Script ?????
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ahh yes, you are correct :)
@mplungjan

Thanks for optimizing my code. However, I just posted it as one logic to achieve, optimizing the code is really depends on programmer implementing it :)
I would not say resetting red text when the error was corrected is optimising - I call that mandatory :)
@mplungjan

oh! yeah, I did not notice that :)
Pasting some code-lines instantly has always some drawbacks ;)
thanks for all the help I have no code as I am about to do it
will try what was listed if anyone else has any advise please let me know
why do you use span ID
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
anyone got working java script still dont have answer
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Enigma - you have all you need. Post some code if you need more help.