|
INTERVIEW QUESTIONS
WEB
WAP
DETAILS
Question: What are the WML variable?How to use them?
Answer: Use of variables in WML is that when client want to switch over card to card in a deck,than client should have to store the data into variables. We can use variables in WML sing two ways. 1.Can set a variable using setvar Command: Suppose that if client want to execute go,prev and refresh type task than they can use setvar command and create a variable with a specific value. Example: <setvar name="x" value="9999"/> 2.Can set a variable with an input element: If we want to set variable with an input,select, option etc input element. Example: <card id="card1"> <select name="enotes"> <option value="PHP">PHP Tutorial</option> <option value="CSS">CSS Tutorial</option> <option value="WAP">WAP Tutorial</option>
</select> </card> We can use this created variable enotes into the card2. <card id="card2"> <p>You have selected: $(enotes)</p> </card> In the above example we create an variable enotes in card1 and passed the selected enotes into card2 by variable enotes.
|
|
|
Category |
WAP Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8217 users |
Added on |
4/29/2014 |
Views |
68077 |
Rate it! |
|
|
Question:
What are the WML variable?How to use them?
Answer:
Use of variables in WML is that when client want to switch over card to card in a deck,than client should have to store the data into variables. We can use variables in WML sing two ways. 1.Can set a variable using setvar Command: Suppose that if client want to execute go,prev and refresh type task than they can use setvar command and create a variable with a specific value. Example: <setvar name="x" value="9999"/> 2.Can set a variable with an input element: If we want to set variable with an input,select, option etc input element. Example: <card id="card1"> <select name="enotes"> <option value="PHP">PHP Tutorial</option> <option value="CSS">CSS Tutorial</option> <option value="WAP">WAP Tutorial</option>
</select> </card> We can use this created variable enotes into the card2. <card id="card2"> <p>You have selected: $(enotes)</p> </card> In the above example we create an variable enotes in card1 and passed the selected enotes into card2 by variable enotes. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All WAP Interview Questions & Answers - Exam Mode /
Learning Mode
|