Re: Anyone know javascript?

Поиск
Список
Период
Сортировка
От Ewald Geschwinde
Тема Re: Anyone know javascript?
Дата
Msg-id 3DCF7EEA.30505@geschwinde.net
обсуждение исходный текст
Ответ на Anyone know javascript?  (Justin Clift <justin@postgresql.org>)
Список pgsql-advocacy
Ah now I understand
The string must not be parsed it will be written unchanged in the url


ok I will write some code and send it to you per mail
Ewald


Justin Clift schrieb:
Hi Ewald

Ok, the input would be a string of characters, both uppercase and
lowercase, and numbers, but with no spaces nor punctuation allowed. 
Typical input would be "ANewPage", "NewsletterPage2", etc.

The URL that the user will be directed to will consist of:

http://techdocs.postgresql.org/guides/<input-string-here>/editform

Does that make sense?  The URL has to be calculated after the user types
in the string.

:-)

Regards and best wishes,

Justin Clift


Ewald Geschwinde wrote: 
thanks for the info   
Maybe I can handle this:

One question?

What Input should I expect in this form?

What the user types in he will be redirected to a special page?

Did I unterstand that right?
Ewald


Justin Clift schrieb:
 
Ewald Geschwinde wrote:
   
What do you need exactly?
I've made a project with many jscript in it
Ewald  
     
Hi Ewald,

Ok, here's what we need.  Not sure if it's possible like this (and
cross-browser compatible), but doesn't hurt to ask.

Is it possible to have some kind of pop-up Javascript that asks for a
new page name, calculates the URL from their input, and goes there?  All
trigged by a user clicking on a "Create new page" link?

That's the *ideal* approach, inspired by the old PHP website that has a
similar function for it's Search box.

:-)

Regards and best wishes,

Justin Clift   
 

В списке pgsql-advocacy по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Anyone know javascript?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: PG Collaborative structure is ready for initial testing