Jump to content
php.lv forumi

Nomainīt Select


skrach

Recommended Posts

Sveiki!

Ir tāda problēma, kā var šo nomainīt uz parastu pogu?

Un vai tas vispār ir iespējams.

 

<select class='small' name='s' onchange="window.location.href='browse_albums.php?v={$v}&s='+this.options[this.selectedIndex].value;">
   <option value='album_dateupdated DESC'{if $s == "album_dateupdated DESC"} SELECTED{/if}>Jaunakie</option>
   </select>

 

Piemēram uz:

 

<a href='links'>Jaunakie</a>

Edited by skrach
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...