•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,880 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,003 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 3068 | Replies: 2
![]() |
Hi all,
Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How can i do this?
This is the current code for a link to my website:
The link dosnt work, it comes up with an "internal server error" but is ok wen i try typing in the url, and i also need it to come in a new window but i cannot use javascript! just CSS and HTML!!
Thanks every1!!
Max
Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How can i do this?
This is the current code for a link to my website:
<form id="form2" name="form2" method="post" action="http://www.grafax.co.uk"> <input type="submit" name="Submit2" value=".:Grafax:." style="width: 80px" /> </form>
The link dosnt work, it comes up with an "internal server error" but is ok wen i try typing in the url, and i also need it to come in a new window but i cannot use javascript! just CSS and HTML!!
Thanks every1!!
Max
Economizerz Hosting
Price Beater Promise
10% Cheaper Hosting, & Double Bandwidth and Web Space
Click here to apply
Price Beater Promise
10% Cheaper Hosting, & Double Bandwidth and Web Space
Click here to apply
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
i am fairly new to this but i'll give it a go so corrections would be appriciated.
i think the problem is the fact that you are using attributes that you do not need
id/name inless somthing is going to call this (unlikely/wasteful on MySpace) you should remove this.
but the main problem is the method attribute...you are posting sumthing this is ent to the server but there is no information held within the form. THIS IS WHY YOU ARE GETTING THE ERROR!!
so simply remove the method attribute and you are done. the form name attribute will not be nessasary. better to remove it (the removing of the name/id attribute will not affect anithing...its just not needed...if it is then of course leave it).
hope that was useful.
i think the problem is the fact that you are using attributes that you do not need
id/name inless somthing is going to call this (unlikely/wasteful on MySpace) you should remove this.
but the main problem is the method attribute...you are posting sumthing this is ent to the server but there is no information held within the form. THIS IS WHY YOU ARE GETTING THE ERROR!!
so simply remove the method attribute and you are done. the form name attribute will not be nessasary. better to remove it (the removing of the name/id attribute will not affect anithing...its just not needed...if it is then of course leave it).
hope that was useful.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- submit button (JSP)
- VB6 submit button sends information to BBChat (Visual Basic 4 / 5 / 6)
- Submit Button Help (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Collapsible table sorting problem
- Next Thread: Background question



Linear Mode