Hi All
continuing to study this question, and I am realising that my question
is really ..
"can I pass variables" between HTML, javascript and php.
For example Erics Contact form.....uses a html form to have people
input data with code like .......
<input type=text name=title style="width:49%" value="titulo do video"
onfocus="this.select()">
......which in the server-side php file is "converted" into a php
variable using code like $title="$_REQUEST['title'];........which can
then be sent to an email form or saved into a database (like mySQL).
Eric has also previously shown some simple javascript code that has
people entering information, (via code such as
var tid=prompt("Titulo do Video",""); .......that then ends up
creating a tiddler using
"store.saveTiddler(tid,tid,txt,who,when,tags);"
So, is there some way to have the html viable "title" be passed to a
javascript....var title = ??????.................AND can "var title"
be converted into phps variable "$title"....and maybe back again??????
Is that Clearer?
Skye
On 27 Abr, 22:15, skye riquelme <[email protected]> wrote:
> Sorry about that dupliication......google groups seemed to be not
> working.....and then two hours later my original message finally
> appeared!!!!
>
> Skye
>
> On 27 Abr, 20:02, skye riquelme <[email protected]> wrote:
>
>
>
> > Hi All
>
> > I am wanting to be notified when students enter a certain type of
> > reference.......I modified Erics Contact Form to include the
> > information I need and have it emailed to a special, for-this-purpose
> > email.........that all works fine.....NOW
>
> > how to get the Contact Form code to also create a new tiddler
> > locally....
>
> > I put code such as...
> > <script>
> > var tid=title;
> > var txt=code;
> > ..
> > ..
> > store.saveTiddler(tid,tid,txt,who,when,tags);
> > story.displayTiddler(null,tid);
> > </script>
>
> > where "title" comes from inside the <form>.....</form> part of the
> > Contact form code.....the html..... such as...
> > <input type=text name=title style="width:49%" value="titulo do video"
> > onfocus="this.select()">
>
> > so...where is the right place to put the script...or what is the right
> > syntax to have the script read the form variables such as
> > "title" )..
>
> > Thanks in Advance
> > Skye
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/tiddlywiki?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group
> athttp://groups.google.com/group/tiddlywiki?hl=en.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.