Then is just as I said. Use the action of the form with the function window.location
On Thu, Aug 28, 2008 at 2:19 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > Yes, I want to return the current website along with the other form > data. Can I do that within a hidden input tag? Not sure how to use > the output of a function instead of a declared or user-input value... > > On Aug 27, 12:20 pm, "Gewton Jhames" <[EMAIL PROTECTED]> wrote: > > what web site? The current web site? just use the javascript function > > window.location > > For example, in the action attribute of the form, kind of: > > <form action="javascript: window.location"> > > I don't know if this works, but if not work, you can also try to call a > > function that just prints the window.location in the action of the form. > > > > On Tue, Aug 26, 2008 at 4:49 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]>wrote: > > > > > > > > > I'm looking to use a form field to return the URL of the website. Is > > > this possible? If so, what would the code look like? I'm familiar > > > with the basics of forms & Javascript, but I can't figure out how to > > > put it all together to get what I want. > > > --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
