You are not logged in.
Pages: 1
Hi, I am trying to detect whether a field is a xinha or not from a popup.
I came up with this:
This works in firefox but not IE.
if(window.opener.fieldname){
//is xinha
}else{
// is not xinha
}
Does anybody know a better way?
Offline
If you're working from the newbie guide, you can check the ID against the array of textareas you set to apply Xinha to (xinha_editors)
Offline
That worked fine. Thanks a lot. I wsh they'd update the supplied examples!
Offline
Pages: 1