Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

parent().hide() method is hiding only the value in the text box not the space

edited Nov 30, 2018 12:27AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 3 commentsAnswered ✓

Hi All,

I have 10 questions and 10 answers in form applet under SR. All are text boxes as am getting the data into that from admin screen based on product associated to that SR.

And am hiding Question and answer text box when question is blank like below. But when hide i still see full empty space. How can i get rid off that? Please help.

if(ValQuestion1==="")

  {

  $( "[name='" + Question1.GetInputName() + "']" ).parent().hide();

  $( "[name='" + Answer1.GetInputName() + "']" ).parent().hide();

  }

  if(ValQuestion2==="")

  {

  $( "[name='" + Question2.GetInputName() + "']" ).parent().hide();

  $( "[name='" + Answer2.GetInputName() + "']" ).parent().hide();

  }

  if(ValQuestion3==="")

  {

  $( "[name='" + Question3.GetInputName() + "']" ).parent().hide();

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