Click here to Skip to main content
15,891,136 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Frontpage Adding a video with navigation buttons Pin
JHizzle8-Feb-10 22:42
JHizzle8-Feb-10 22:42 
GeneralRe: Frontpage Adding a video with navigation buttons Pin
Kontakentee9-Feb-10 2:01
Kontakentee9-Feb-10 2:01 
Questionscript # problem [modified] Pin
sriharsha_124-Feb-10 18:29
sriharsha_124-Feb-10 18:29 
AnswerRe: script # problem Pin
Not Active4-Feb-10 19:50
mentorNot Active4-Feb-10 19:50 
GeneralRe: script # problem Pin
sriharsha_128-Feb-10 17:28
sriharsha_128-Feb-10 17:28 
GeneralRe: script # problem Pin
Not Active8-Feb-10 17:50
mentorNot Active8-Feb-10 17:50 
GeneralRe: script # problem Pin
sriharsha_1210-Feb-10 19:18
sriharsha_1210-Feb-10 19:18 
Questionlocation.href javascript question Pin
treeeen4-Feb-10 11:26
treeeen4-Feb-10 11:26 
I'm hoping someone could help me out.   I'm very new to javascript and was able to create a jump box and a url convert script (see below).   Both seem to work fine seperately, but when I attempt to use them both on the same page, the second script doens't want to work.   I'm guessing this has to do with using location.href twice on the same page, but don't know enough about javascript to be able to make them both work.   Any help, ideas and/or solutions would be much appreciated.


<code>
<form action="" name="jump1" id="jump1"><select name="myjumpbox" onchange="location.href=jump1.myjumpbox.options[selectedIndex].value" class="c1">
<option selected="selected">Select Search Type...</option>
<option value="http://www.bing.com">Google </option>
<option value="http://www.google.com">Bing </option>
<option value="http://www.yahoo.com">Yahoo </option>
</select></form>

<form name="changeurl" action="" method="get" onsubmit="location.href=converturl();return false">
<input type="hidden" id="f0ve" name="fullurl" value="jobs apply submit" />

<label><input type="text" size="28" id="f0va" name="url" value="" /></label></td>
<label><select name="city">
<option value="Dallas" selected="selected">Dallas</option>
<option value="">Nationwide</option>
<option value="Atlanta">Atlanta</option>
<option value="Austin">Austin</option>
<option value="Boston">Boston</option>
<option value="Chicago">Chicago</option>

</select></label></td>
<td><input type="submit" name="searchbutton" value="Search" class="c4" /></td>
</tr>
</table>
      <script type="text/javascript">
            function converturl() {
                  frm = document.forms[0];
                  return "http://www.bing.com/search/?q=" +
      frm.fullurl.value +
      frm.url.value + '+' +
      frm.city[frm.city.selectedIndex].value
            }
      </script>
</code>
AnswerRe: location.href javascript question Pin
Not Active4-Feb-10 11:36
mentorNot Active4-Feb-10 11:36 
GeneralRe: location.href javascript question Pin
treeeen4-Feb-10 16:00
treeeen4-Feb-10 16:00 
GeneralRe: location.href javascript question Pin
Not Active4-Feb-10 19:47
mentorNot Active4-Feb-10 19:47 
AnswerRe: location.href javascript question Pin
daveyerwin5-Feb-10 1:22
daveyerwin5-Feb-10 1:22 
QuestionMessage Removed Pin
4-Feb-10 11:01
sweety19884-Feb-10 11:01 
AnswerCross post & different name Pin
Not Active4-Feb-10 11:29
mentorNot Active4-Feb-10 11:29 
AnswerRe: Web developer Interview questions Pin
Richard MacCutchan4-Feb-10 11:48
mveRichard MacCutchan4-Feb-10 11:48 
QuestionFrontpage question Pin
Kontakentee4-Feb-10 5:03
Kontakentee4-Feb-10 5:03 
AnswerRe: Frontpage question PinPopular
Not Active4-Feb-10 5:10
mentorNot Active4-Feb-10 5:10 
GeneralRe: Frontpage question Pin
Kontakentee4-Feb-10 8:21
Kontakentee4-Feb-10 8:21 
GeneralRe: Frontpage question Pin
Not Active4-Feb-10 8:46
mentorNot Active4-Feb-10 8:46 
GeneralRe: Frontpage question Pin
Kontakentee5-Feb-10 0:17
Kontakentee5-Feb-10 0:17 
GeneralRe: Frontpage question Pin
Not Active5-Feb-10 2:24
mentorNot Active5-Feb-10 2:24 
GeneralRe: Frontpage question Pin
Kontakentee5-Feb-10 2:49
Kontakentee5-Feb-10 2:49 
AnswerRe: Frontpage question Pin
fat_boy5-Feb-10 23:36
fat_boy5-Feb-10 23:36 
QuestionQuestion about regular expression (for email addresses) Pin
Vodstok4-Feb-10 4:02
Vodstok4-Feb-10 4:02 
AnswerRe: Question about regular expression (for email addresses) Pin
adkalavadia4-Feb-10 21:32
adkalavadia4-Feb-10 21:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.