b253 Posted May 15, 2015 Share Posted May 15, 2015 (edited) 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; document.forms["odosielaci"]["#"].value=retazec; document.forms["odosielaci"].submit(); } // ]]></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 May 15, 2015 by b253 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now