Welcome Guest, Not a member yet? Register   Sign In
Clickable table rows using Jquery
#10

[eluser]Matthew Pennell[/eluser]
[quote author="danfloun" date="1188876040"]
And to make my rows clickable I simply used:

Code:
function Link(url)
  {
  document.location.href = url;

  }

and then on my looping table rows I used:

Code:
onclick="Link('client_detail/<?=$row->id?>');">
[/quote]
I really don't see the point of using JavaScript to create links - what's wrong with using a simple anchor tag?


Messages In This Thread
Clickable table rows using Jquery - by El Forum - 09-02-2007, 05:18 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 09:30 AM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 09:43 AM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 09:57 AM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 01:01 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 01:33 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 01:41 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 04:20 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 04:57 PM
Clickable table rows using Jquery - by El Forum - 09-03-2007, 11:48 PM
Clickable table rows using Jquery - by El Forum - 09-04-2007, 12:42 AM
Clickable table rows using Jquery - by El Forum - 09-04-2007, 01:09 AM
Clickable table rows using Jquery - by El Forum - 09-04-2007, 01:16 AM
Clickable table rows using Jquery - by El Forum - 09-11-2007, 06:16 AM
Clickable table rows using Jquery - by El Forum - 09-11-2007, 08:15 AM
Clickable table rows using Jquery - by El Forum - 09-11-2007, 01:02 PM
Clickable table rows using Jquery - by El Forum - 09-11-2007, 01:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB