1
Now I just asked about the topbar links of my site. Well, now the problem is another: add parameters to a url. Follow the code:
<script type="text/javascript">
function web(){
document.form.action = "http://www.google.com/search?q=";
}
function images(){
document.form.action = "http://www.google.com/search?q=";
}
function videos(){
document.form.action = "http://www.google.com/search?q=";
}
function news(){
document.form.action = "http://www.google.com/search?q=";
}
</script>
The Google search parameter by:
imagens: &tbm=isch
, vídeos: &tbm=vid
, notícias: &tbm=nws
.
How do I add these parameters to the url?
Can you explain better what you want to do? and what you’ve tried?
– Sergio
I want to add the &tbm=isch parameter to the google search url in my form without affecting it. Ex: http://www.google.com/search?q=qresearch&tbm=isch
– Gustavo Ponte