skycomputer2
skycomputer2

Reputation: 243

How can i add a Select Option in AMP

I have a page with a Select Option

enter image description here

but in my AMP Page i cant see this element,

What i need to add to this work?

Upvotes: 0

Views: 67

Answers (1)

Bachcha Singh
Bachcha Singh

Reputation: 3934

For navigate the page use AMP.navigateTo

 <select on="change:AMP.navigateTo(url=event.value)">
    <option selected>-Select a Page-</option>
    <option value="YOUR-PAGE-URL">Home Page</option>  
    <option value="YOUR-PAGE-URL">About Us</option>
    <option value="YOUR-PAGE-URL">Camping Tips</option>
  </select>

Upvotes: 1

Related Questions