Link to javascript

This is a discussion on Link to javascript within the Net Objects Fusion forums in Application Servers & Tools category; I know this is a dumb question, and I have done this before, but I'm having a senior monment. I have text in a text box that I want to link to a javascript function when you click on the text. I have the javascript between the head tags, but I can't can't get the "text link" to work. Can anybody point me in the right direction? Thanks....

Go Back   Application Development Forum > Application Servers & Tools > Net Objects Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-17-2006, 03:06 PM
Gary J. Piccoli
Guest
 
Default Link to javascript

I know this is a dumb question, and I have done this before, but I'm having
a senior monment.

I have text in a text box that I want to link to a javascript function when
you click on the text. I have the javascript between the head tags, but I
can't can't get the "text link" to work.

Can anybody point me in the right direction?

Thanks.


Reply With Quote
  #2  
Old 10-17-2006, 03:18 PM
Guest
 
Default Re: Link to javascript

Gary J. Piccoli said:

| I know this is a dumb question, and I have done this before, but
| I'm having a senior monment.
|
| I have text in a text box that I want to link to a javascript
| function when you click on the text. I have the javascript between
| the head tags, but I can't can't get the "text link" to work.
|
| Can anybody point me in the right direction?


See attached gif

--
Mike - (a.k.a. turtle) - gotFusion Extended Support

For more helpful information visit
http://www.gotfusion.com

View the entire gotFusion tutorial list
http://www.gotfusion.com/menu/tuts_by_topic.cfm

--

Reply With Quote
  #3  
Old 10-18-2006, 09:19 AM
Gary J. Piccoli
Guest
 
Default Re: Link to javascript

Mike:

That's what I thought. I tried this and did a local publish. The link is to
a javascript fumction that is included between the head tags. When I click
on the link I get an error "Line 1 Char 1 Object expected". The link is
"javascript:BookMark()" and the function name is BookMark().
If I look in IE view source everthing looks okay. I can send a small
template if that would help. Let me know.
Thanks,
Gary
<gotFusion.com> wrote in message news:A921.1161112682.727@gfwebforum.com...
> Gary J. Piccoli said:
>
> | I know this is a dumb question, and I have done this before, but
> | I'm having a senior monment.
> |
> | I have text in a text box that I want to link to a javascript
> | function when you click on the text. I have the javascript between
> | the head tags, but I can't can't get the "text link" to work.
> |
> | Can anybody point me in the right direction?
>
>
> See attached gif
>
> --
> Mike - (a.k.a. turtle) - gotFusion Extended Support
>
> For more helpful information visit
> http://www.gotfusion.com
>
> View the entire gotFusion tutorial list
> http://www.gotfusion.com/menu/tuts_by_topic.cfm
>
> --
>



Reply With Quote
  #4  
Old 10-18-2006, 12:44 PM
Nancy O
Guest
 
Default Re: Link to javascript

Upload your pages and script to server. "Add my URL to bookmarks" scripts
call the URL from the server. That's why you can't see it work in Preview or
Local Publish.

--Nancy


"Gary J. Piccoli" <gpiccoli@bellatlantic.net> wrote in message
news:eh59ks$i932@flsun90netnews01.netobjects.com.. .
> Mike:
>
> That's what I thought. I tried this and did a local publish. The link is

to
> a javascript fumction that is included between the head tags. When I click
> on the link I get an error "Line 1 Char 1 Object expected". The link is
> "javascript:BookMark()" and the function name is BookMark().
> If I look in IE view source everthing looks okay. I can send a small
> template if that would help. Let me know.
> Thanks,
> Gary
> <gotFusion.com> wrote in message

news:A921.1161112682.727@gfwebforum.com...
> > Gary J. Piccoli said:
> >
> > | I know this is a dumb question, and I have done this before, but
> > | I'm having a senior monment.
> > |
> > | I have text in a text box that I want to link to a javascript
> > | function when you click on the text. I have the javascript between
> > | the head tags, but I can't can't get the "text link" to work.
> > |
> > | Can anybody point me in the right direction?
> >
> >
> > See attached gif
> >
> > --
> > Mike - (a.k.a. turtle) - gotFusion Extended Support
> >
> > For more helpful information visit
> > http://www.gotfusion.com
> >
> > View the entire gotFusion tutorial list
> > http://www.gotfusion.com/menu/tuts_by_topic.cfm
> >
> > --
> >

>
>



Reply With Quote
  #5  
Old 10-18-2006, 04:02 PM
Gary J. Piccoli
Guest
 
Default Re: Link to javascript

Thanks.

"Nancy O" <nancyoshea1@NOSPAMverizon.net> wrote in message
news:eh5lmc$jlc2@flsun90netnews01.netobjects.com.. .
> Upload your pages and script to server. "Add my URL to bookmarks" scripts
> call the URL from the server. That's why you can't see it work in Preview
> or
> Local Publish.
>
> --Nancy
>
>
> "Gary J. Piccoli" <gpiccoli@bellatlantic.net> wrote in message
> news:eh59ks$i932@flsun90netnews01.netobjects.com.. .
>> Mike:
>>
>> That's what I thought. I tried this and did a local publish. The link is

> to
>> a javascript fumction that is included between the head tags. When I
>> click
>> on the link I get an error "Line 1 Char 1 Object expected". The link is
>> "javascript:BookMark()" and the function name is BookMark().
>> If I look in IE view source everthing looks okay. I can send a small
>> template if that would help. Let me know.
>> Thanks,
>> Gary
>> <gotFusion.com> wrote in message

> news:A921.1161112682.727@gfwebforum.com...
>> > Gary J. Piccoli said:
>> >
>> > | I know this is a dumb question, and I have done this before, but
>> > | I'm having a senior monment.
>> > |
>> > | I have text in a text box that I want to link to a javascript
>> > | function when you click on the text. I have the javascript between
>> > | the head tags, but I can't can't get the "text link" to work.
>> > |
>> > | Can anybody point me in the right direction?
>> >
>> >
>> > See attached gif
>> >
>> > --
>> > Mike - (a.k.a. turtle) - gotFusion Extended Support
>> >
>> > For more helpful information visit
>> > http://www.gotfusion.com
>> >
>> > View the entire gotFusion tutorial list
>> > http://www.gotfusion.com/menu/tuts_by_topic.cfm
>> >
>> > --
>> >

>>
>>

>
>



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:29 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.