Welcome Guest, Not a member yet? Register   Sign In
anchor and MVC
#1

[eluser]Ajaxian64[/eluser]
Hy

I have 2 views view1.php and view2.php
in view1.php I would like to address a specific anchor located in view2.php

In html I would like to have something like :
in view2.php <a name="myTarget">...</a>

And In View1.php
Code:
<a href="xxxx/???#myTarget">more here</a>

And I don't know what to put here :down:
xxx is my controller which is intended to give data to view2.php So I must use it.
But what is the syntax for saying that I want to address my anchor ?
If I write xxx/#myTarget it means parameter for controller. And then, how can I handle this in my controller ?

Thanks


Messages In This Thread
anchor and MVC - by El Forum - 07-15-2010, 09:58 AM
anchor and MVC - by El Forum - 07-15-2010, 11:02 AM
anchor and MVC - by El Forum - 07-15-2010, 11:26 PM
anchor and MVC - by El Forum - 07-16-2010, 12:17 AM
anchor and MVC - by El Forum - 07-16-2010, 01:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB