Jump to content

Filtovanie z hlavnej stranky

Recommended Posts

Zdravim, potrebujem na uvodnu stranku dostat filter jednej kategorie, layered block ide zobrazit len na strankach kategorii,  takze to chcem cez javascript  urobil som formular,  potrebujem aby mi to co sa vo formulari vyberie odoslalo do url adresy kategorie, problem je ale ten ze mi do url adresy neodosle znaky ake chcem ,  neda tam lomitko ale nieco ine a tak mi to nic nevyfiltruje.

Tu je ten script:


<script type="text/javascript">// <![CDATA[

  function odosli(){

    var retazec=";

    retazec=document.forms["formular]["prvy"].value+" "+document.forms["formular"]["druhy"].value;




// ]]></script>

<form action="http://domenaobchodu.sk/kategoria" id="odosielaci" method="get">

<input name="#" type="hidden" /></form>

<form id="formular">




pricom odosielane data z formula by boli v tvare: /nieco

Edited by b253 (see edit history)

Share this post

Link to post
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.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More