I want to replace the code 1 by the code 2

  1. <a data-url="http://epanews.fr/main/quickadd/event" data-js="xg.index.quickadd.event" data-value="event" href="#">Events</a>
  2. <a href="http://epanews.fr/events/event/new">Events</a>

How to do this with javascript?

Tags: javascript

Views: 47

Reply to This

Replies to This Discussion

Code 1 is the link "Events" in the picture below

RSS

Latest Activity

Kos replied to John's discussion 'Page disappeared'
"Page not found for me (both Firefox 21.0 and IE).  I had an issue yesterday where I had a page…"
6 minutes ago

NC for Hire
SweetPotato replied to Steve Jaques's discussion 'I'm About to contact Ning: Creator feedback would be really helpful before I do.'
"What is your community focused on? If it is blogging then I would say go with Ning 3.0 SP"
10 minutes ago
John replied to John's discussion 'Page disappeared'
"I can see the page while I'm logged-in.  But not logged out.  It takes a long time…"
18 minutes ago
Yaron replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Thank you, Allison! I think a lot of NCs would be very happy to see this added to the roadmap :)"
28 minutes ago
Strumelia replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Oops, I see I was typing pretty much the same request and clarifications as Yaron was at the same…"
30 minutes ago
Strumelia replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"I feel my network needs a centralized player that all members could upload their music clips to, in…"
32 minutes ago
Allison Leahy replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Sure does. Thanks for the clarification. It's a really great idea, and I'll be glad to…"
44 minutes ago
Yaron replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Thanks, Allison. What I meant was for this to be identical to the embed video feature, so that…"
50 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service