House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

refresh form to anchor

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi,
Hugo Ahlenius
06/30/03 05:12 A
Hugo,
Sicular, Alexander
06/30/03 09:10 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Hugo Ahlenius
06/30/2003 05:12 AM

Hi, A simple question: the user is submitting a form, and I went the resulting page to be scrolled down to anchor #X (either a <a name> tag or an id in the resulting page). This is a form method=get. How do I do this? In the action, I can't specify an #anchor... /Hugo ------------------------------------------------------------- Hugo Ahlenius                  E-Mail: hugo.ahlenius@grida.no Project Officer                Phone:            +46 8 230460 UNEP GRID-Arendal              Fax:              +46 8 230441 Stockholm Office               Mobile:         +46 733 467111                                WWW:       http://www.grida.no ------------------------------------------------------------- ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Taco Fleur
06/30/2003 05:47 AM

You can still specify the anchor in a get operation, why would you not be able to? <form method="get" action="page.cfm#anchor" name="frm1"></form> Hi, A simple question: the user is submitting a form, and I went the resulting page to be scrolled down to anchor #X (either a <a name> tag or an id in the resulting page). This is a form method=get. How do I do this? In the action, I can't specify an #anchor... /Hugo ------------------------------------------------------------- Hugo Ahlenius                  E-Mail: hugo.ahlenius@grida.no Project Officer                Phone:            +46 8 230460 UNEP GRID-Arendal              Fax:              +46 8 230441 Stockholm Office               Mobile:         +46 733 467111                                WWW:       http://www.grida.no ------------------------------------------------------------- ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Hugo Ahlenius
06/30/2003 05:52 AM

Try it, it didn't work for me (in IE 6 at least, IIS and CF5). It seems like the template is called but things after the template name are dropped. It might work with method=POST though, 'cause I know that URL variables, for example, can be used in the action there... /H. ------------------------------------------------------------- Hugo Ahlenius                  E-Mail: hugo.ahlenius@grida.no Project Officer                Phone:            +46 8 230460 UNEP GRID-Arendal              Fax:              +46 8 230441 Stockholm Office               Mobile:         +46 733 467111                                WWW:       http://www.grida.no ------------------------------------------------------------- | -----Original Message----- | | Sent: Monday, June 30, 2003 11:44 | To: CF-Talk | Subject: RE: refresh form to anchor | | | You can still specify the anchor in a get operation, why would you not | be able to? | <form method="get" action="page.cfm#anchor" name="frm1"></form> | | -----Original Message----- | | Sent: Monday, 30 June 2003 7:09 PM | To: CF-Talk | Subject: refresh form to anchor | | | Hi, | | A simple question: the user is submitting a form, and I went the | resulting page to be scrolled down to anchor #X (either a <a name> tag | or an id in the resulting page). This is a form method=get. | | How do I do this? In the action, I can't specify an #anchor... | | /Hugo | | | | | ------------------------------------------------------------- | Hugo Ahlenius                  E-Mail: hugo.ahlenius@grida.no | Project Officer                Phone:            +46 8 230460 | UNEP GRID-Arendal              Fax:              +46 8 230441 | Stockholm Office               Mobile:         +46 733 467111 |                                WWW:       http://www.grida.no | ------------------------------------------------------------- | | | | | ########################################### | | This message has been scanned by F-Secure Anti-Virus for Microsoft | Exchange. For more information, connect to http://www.F-Secure.com/ | | |

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sicular, Alexander
06/30/2003 09:10 AM

Hugo, <a name="#myquery.recordID#"></a> <form action="myactionpage.cfm?suff=1&somemore=2###query.recordID#"> Remember to escape the pounds if you have your <form> in a <cfoutput>... Gl, alex Hi, A simple question: the user is submitting a form, and I went the resulting page to be scrolled down to anchor #X (either a <a name> tag or an id in the resulting page). This is a form method=get. How do I do this? In the action, I can't specify an #anchor... /Hugo ------------------------------------------------------------- Hugo Ahlenius                  E-Mail: hugo.ahlenius@grida.no Project Officer                Phone:            +46 8 230460 UNEP GRID-Arendal              Fax:              +46 8 230441 Stockholm Office               Mobile:         +46 733 467111                                WWW:       http://www.grida.no ------------------------------------------------------------- ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference