exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 61 discussion

Actual exam question from Microsoft's 70-486
Question #: 61
Topic #: 1
[All 70-486 Questions]

You are implementing a website redesign of an existing website that provides historical weather condition maps. The current layout resembles the following graphic.

Year selection is implemented as a set of links, which causes the page to reload when the user changes the year. The year selection HTML is contained in a div with an id of "year-changer".
You need to modify the page so that the user can change the year without the page reloading. You also need to ensure that there is minimal change to the design of the page.
Which code segment should you use?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
jQuery code will bind the slider control to the div.
$(document).ready(function(){
$("#slider").slider();
});
Now, when you run this page then you will see a long slider on page with no range. As we have not specified any range.slider control comes with various options/ properties which can be set. Here are few of them.
1. min : Minimum value allowed for the slider.
2. max : Maximum allowed value for the slider.
3. step : How much you want to increment when you slide. Default is 1.
4. value : set default value of the slider.
Reference: Implement jQuery UIslider with ASP.NET
http://www.jquerybyexample.net/2010/09/implement-jquery-ui-slider-with-aspnet.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hungry_ape9000
Highly Voted 5 years, 2 months ago
FINAL ANSWER: B is correct
upvoted 7 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...