Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Datawindow and client side scripting

1 view
Skip to first unread message

Pål Magnus Nybų

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
I have the following challenge/problem.. :

On a web-page I have:
3 entry-fields, standard HTML-code ( <input value=" "
name="w_searchword1" size=30 type=text>
<input value="
" name="w_searchword2" size=30 type=text>
<input value="
" name="w_searchword3" size=30 type=text> )

1 button ( <input value=Search
onClick="javascript:make_link(this.form) type=button )

(the 4 elements above are enclosed in a form)

2 Datawindows ( htmlDW1 and htmlDW2 )


My case is that I want to build a link, like this:
searchresult.html?w_searchword1="something"&w_searchword2="something"&w_sear
chword3="something"&

valuefromhtmldw1="something"&valuefromhtmldw2="something"

I tried to define a javascript where I took the 3 searchwords and the 2
values from the datawindows, to generate the link
you see above.
But I couldn't get the script to work.. I only got script errors.
I aslo tried to define the htmlDW_Clicked(row, objName) for a button defined
in one of the datawindows, but I couldn't make
that work either..

Is it possible to do this combination ?
If so, how can I solve it?

Hope someone have tried this, or know how to solve it..

Thanks for your help!

0 new messages