Passing JS varibles to my html forms inside my extension

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Passing JS varibles to my html forms inside my extension

    Hey everyone!

    I would like to display getCurrentSite(); info in the middle of my html form
    inside my extension.

    In other words I have a table, and in that table I want to display the current
    site name...

    Thanks!

    Jammer Guest

  2. Similar Questions and Discussions

    1. Flash OCX inside Visual Basic app- passing variables
      Hi, can a variable only be passed by visual basic to the _root timeline of a flash movie playing in the ocx inside it? This will work in VB...
    2. HTML <Href Link inside a form (HTML text box)
      Hello, I am using a standard HTML Form to gather information from users and one of the elements within the form is a text box that users will paste...
    3. How to refresh inside of an extension?
      Hey everyone! I have an extension with a UI running as a command, and inside the UI i\I am getting the site name. Now if you run the exteension...
    4. Flash forms do not show up inside html table
      Will the cf 7.0 Flash forms show up inside a table?? If I surround any flash form with a simple set of table tags (<table><tr><td></td></tr></table>...
    5. passing code inside function
      I would like to read something about passing code inside function. Lets say that: This works: perl -e 'sub a(&){print(&{$_}, "/n"};$_=0; a...
  3. #2

    Default Re: Passing JS varibles to my html forms inside myextension

    One more thought...
    Would something like this work?

    <script>document.writeIn(site.getCurrentSite())</script>
    Jammer Guest

  4. #3

    Default Re: Passing JS varibles to my html forms inside myextension

    Ok... I'll be a little more clear in my explanation.

    I want to write or display an image only if my statement is true.

    So on runtime I want to write an image to my extension. Is this possible?
    Either by hiding a div or using some write function?

    Thanks!
    Any help would be great!

    Jammer Guest

  5. #4

    Default Re: Passing JS varibles to my html forms inside myextension

    Any thoughts... Anyone?

    Jammer Guest

  6. #5

    Default Re: Passing JS varibles to my html forms inside myextension

    I figured it out!

    In the head I put:

    function animate() {
    document.images[0].src = "Frunder.png";
    }

    In the body tag I put:

    <body onLoad="animate()">

    My Image tag was:

    <IMG NAME="changingAnimation" SRC="" BORDER=0 ALIGN="top">

    Jammer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139