Hello

I'm creating a new template for Croog. When I realized that the search
form does not work. The code is:
<form action="javascript: document.location.href=''+Croogo.basePath
+'search/q:'+encodeURI($('#searchform #q').val());" method="post"
id="searchform">
       <div class="input text">
                       <input type="text" id="q" value="ad" name="q">
               </div>
               <div class="submit">
                       <input type="submit" value="Search">
               </div>
</form>

I think the problem is because they do not know to run the javascript:
javascript: document.location.href=''+Croogo.basePath+'search/
q:'+encodeURI($('#searchform #q').val());

Forgive my bad English (Google Translate,;)),

A greeting and thanks in advance,
Daniel

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to