|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Possible to refer to variable defined later in script?by NetWallah (Monsignor) |
| on Nov 12, 2012 at 22:55 UTC ( #1003518=note: print w/ replies, xml ) | Need Help?? |
|
I have had a similar design issue in the past - at that time, what I did was to create an empty <DIV> element at the top, then populate it later in the page using perl-generated javascript code that referenced the DIV. update: Here is the Javascript function I called to update the DIV text: In my case, the ID belonged to a <td> element of a CGI generated table:
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||