Oracle Application Express (MOSC)

MOSC Banner

how to add extra tag to Text item in apex

edited Nov 6, 2019 4:00AM in Oracle Application Express (MOSC) 4 commentsAnswered

when i create text item some tag generating like

<input type="text" id="userType" placeholder="Enter the Name"   />

along with this how to add one more tag like

<span id="typePrompt">Enter the Full Name</span>

exp:

<html>

<body>

<style>

span#typePrompt { display: none; }

input#userType:hover + span#typePrompt { display: inline; }

input#userType:focus + span#typePrompt { display: inline; }

</style>

<label>User Name: </label>

<input type="text" id="userType" placeholder="Enter the Name"   />

<span id="typePrompt">Enter the Full Name</span>

<br />

</body>

</html>

how this html file text field working, same way i want to achieve in apex for text field.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center