Question
go to: Internal document id?
Hello all,
I'm trying to implement the ability to return to a specific location in a document after a sub-form closes. I am using <a id="row#x#"> values in the form and have tried to do the equivalent of a simple "blah.cfm?var=val#row" call and also attempted to use an onload="gotorow('#row#')". The problem is that none of this seems to be working. I am using a hidden field on the main form that contains the value after having been submitted from the sub-form. The values are correct and I can see in the source that everything looks fine. I'm wondering if this is a problem with the page not being rendered yet by the server so the methods I'm using don't yet know where to go? Thinking this may be the case, I also tried adding a javascript block just before the end of the form that would call the gotorow() function. Maybe I'm way off, but is there a simple method to implement this sort of feature?
Thanks!
Mark
I'm trying to implement the ability to return to a specific location in a document after a sub-form closes. I am using <a id="row#x#"> values in the form and have tried to do the equivalent of a simple "blah.cfm?var=val#row" call and also attempted to use an onload="gotorow('#row#')". The problem is that none of this seems to be working. I am using a hidden field on the main form that contains the value after having been submitted from the sub-form. The values are correct and I can see in the source that everything looks fine. I'm wondering if this is a problem with the page not being rendered yet by the server so the methods I'm using don't yet know where to go? Thinking this may be the case, I also tried adding a javascript block just before the end of the form that would call the gotorow() function. Maybe I'm way off, but is there a simple method to implement this sort of feature?
Thanks!
Mark
