Thanks to everyone for the response. My problem
solved. I could able to find help by googling and my
table issue has been solved.
Thanks again.
--- U K Laxmi <[EMAIL PROTECTED]> wrote:
> Thanks David for the reply. Yes .... i could able to
> submit using javascript. Usually i use submit
> button.
> If submit button not available, i'm using javascript
> submit as mentioned by the syntax.
>
> Table problem, still finding ways to do it. Going
> thro' tutorials on HTML.
>
>
> --- David da Guia Carvalho <[EMAIL PROTECTED]>
> wrote:
>
> > I dont know but looks like you are doing
> somethings
> > wrong... hidden
> > fildes are a great choice... better them use GET
> > method...
> > About the table think... use Iframe and do a
> submit
> > to it...
> > Whem you submit you use normal submit button or
> > javascript???
> > If you are submiting with normal button try to use
> > Javascript is much
> > better! Example:
> >
> > <!-- AT HEADER -->
> > <script language="javascript">
> > function submitform()
> > {
> > // FOR LOCAL FORM... where the form name is
> "myform"
> > document.myform.submit();
> >
> > //OR FOR IFRAME FORM... where the IFRAME name is
> > myframe and the FORM
> > name is "myform1"
> > window.frames.myframe.document.myform1.submit();
> >
> > }
> > </script>
> > <!-- AT BODY
> > The link to submit:
> > -->
> > <A HREF="javascript: submitform()">SUBMIT
> > HERE!!!</A>
> >
> > You can also make MANY variations on it... like
> pass
> > values in the
> > function from the external frame to a filed on
> > iframe.
> > Example:
> >
> > <!-- AT HEADER -->
> > <script language="javascript">
> > function submitform(val1)
> > {
> > //CHANGE THE VALUE OF A FIELD ON IFRAME... where
> > myfield is the name of
> > the filed...
> >
>
window.frames.myframe.document.myform1.myfield.value=val1;
> > //FOR IFRAME FORM... where the IFRAME name is
> > myframe and the FORM name
> > is "myform1"
> > window.frames.myframe.document.myform1.submit();
> > }
> > </script>
> >
> > <!-- AT BODY -->
> > <A HREF="javascript: submitform(VALUEOFF1)">SUBMIT
> > HERE</A>
> >
> > I make some dynamic tables based on users choies!
> > Works very well.
> >
> > Best Regards,
> >
> > --
> > ------------------------------------------------
> > David da Guia Carvalho
> > Animus Tecnologia da Informa��o
> > Tel.: (21) 3525-8800
> > Fax: (21) 3525-8801
> > http://www.animus-ti.com.br
> > ------------------------------------------------
> >
> > On Feb 25, 2005 03:44 AM, U K Laxmi
> > <[EMAIL PROTECTED]> wrote:
> >
> > >Thanks David for the info. Sure to do some
> reading.
> > I
> > >could able to pass the hidden variables to next
> > page.
> > >It's just i'm using one hidden variable named
> > >'package' which was doing all the problem. I just
> > >changed it to something else and now it's
> working.
> > >
> > >Still table issue not solved. I'm gooling ... for
> > the
> > >solution.
> > >
> > >--- David Smith <[EMAIL PROTECTED]> wrote:
> > >
> > >>This is getting into territory where you'd be
> > better
> > >>off doing some
> > >>googling or buying a good javascript cookbook. I
> > >>havn't bought any of
> > >>those books recently although I've had good
> > >>experience with subjects
> > >>from Wrox Publishing and O'Reilly Associates in
> > the
> > >>past. Visit
> > >>Amazon. They even support a rating scheme where
> > >>people can voice their
> > >>opinion.
> > >>
> > >>On the Delete issue, you could do a server-side
> > >>rewrite of a link that
> > >>invokes an action to delete a row as in:
> > >><a
> > >>
> >
>
>href="http://localhost:8080/mywebapp/deleteRow.do?recordNum=10">Delete
> > >>
> > >>Me</a>
> > >>
> > >>That's just a basic GET form request.
> > >>
> > >>Again, find a good book, do some reading.
> > >>
> > >>--David
> > >>
> > >>U K Laxmi wrote:
> > >>
> > >>>Thanks David for the solution. To be frank, i
> > >>really
> > >>>don't know how to code it. Will you give a
> sample
> > >>code
> > >>>snippet? I'm using apache2, tomcat 5.5.7 on Win
> > 2K
> > >>>machine.
> > >>>
> > >>>One more problem. I've a form and also submit
> > >>button.
> > >>>I've number of text fields in it. On entering
> > some
> > >>>data and focus losts from that field, i call a
> > >>>javascript function, i set number of hidden
> > values
> > >>and
> > >>>call a JSP using location.href of Javascript.
> But
> > >>>hidden values are not getting passed to jsp.I'm
> > >>>getting null. Why? How to overcome this? Pls
> > help.
> > >>>
> > >>>One more requirement what i've is:
> > >>>i'VE A FORM WITH FORM ELEMENTS IN IT AND A
> 'aDD'
> > >>>BUTTON. After filling theform, if the user
> clicks
> > >>on
> > >>>'Add' button, the contents gets added aas row
> > into
> > >>a
> > >>>HTML table located below that form. That way
> user
> > >>can
> > >>>add n number of rows to the bottom table. In
> the
> > >>>table, i need a 'Delete' button. After
> selecting
> > >>any
> > >>>row, if the user clicks on 'Delete' button, it
> > >>should
> > >>>get deleted from the table. I guess it can be
> > >>>possible. But it's a big challenge to me as i
> > know
> > >>>only ABCD of HTML & Javascript.
> > >>>
> > >>>If anybody can direct me to a good
> > HTML/Javascritp
> > >>>forum also fine. If i get a solution directly,
> > it's
> > >>>wonderful.
> > >>>
> > >>>Thanks a lot. Sorry again if it's not the right
> > >>place
> > >>>to post this.
> > >>>
> > >>>
> > >>>--- David Smith <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>
>
=== message truncated ===
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]