How to make an internal hyperlink with FaceBook Markup Language?

posted by adiego73 on 2009-07-16 23:21:38
Hi, Im making an facebook app and I need to make an internal hyperlink in a select tag.
The HTML code is somethig like this:
 
<select id="select" onchange="location.href=this.value">
<option value="#one">one</option>
<option value="#two">two</option>
</select>
(...)
<a name="one">
 
I made this for FBML:
 
<select id="select" onchange="document.setLocation = this.getValue()">
<option value="#one">one</option>
<option value="#two">two</option>
</select>
<a name="one">
 
But still not working
dail avatar
dail
12
Hello adiego73,
setLocation is a function, you call it, not assign to it.
 
document.setLocation(this.getValue())
 
bye
49 answers - 0 questions
  Positive        Negative



Answer the question



Top Users
  • dail (12)
  • livin52 (3)
  • camu (3)
  • softweb (2)
  • Nadine (1)
  • Josware (1)
  • lfelipecr (1)
  • gregoriohc (1)
  • Mitu (1)
  • ryan714 (1)