Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. objec.style.value setting

objec.style.value setting

Scheduled Pinned Locked Moved Web Development
phptools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tibiz
    wrote on last edited by
    #1

    I use the script: function oedjsSetObjectValue( obj, strValue ) { var _oedjsObjS=document.getElementById( obj ); if( _oedjsObjS != null ) _oedjsObjS.value = strValue; } then I have a textbox echo ""; and call this in PHP: echo ""; but the input named 'strFormText[0]' want not set the value to '2'

    G 1 Reply Last reply
    0
    • T tibiz

      I use the script: function oedjsSetObjectValue( obj, strValue ) { var _oedjsObjS=document.getElementById( obj ); if( _oedjsObjS != null ) _oedjsObjS.value = strValue; } then I have a textbox echo ""; and call this in PHP: echo ""; but the input named 'strFormText[0]' want not set the value to '2'

      G Offline
      G Offline
      g00fyman
      wrote on last edited by
      #2

      is this a typo?

      tibiz wrote:

      echo ""; and call this in PHP: echo "";

      should it be

      value=\"$strFormText[0]\" name=\"$strFormText[0]\">";

      and call this in PHP:
      echo "";

      note the variable call in the name and removed attribute code. also its been a while since i coded any php but i don't think '$strFormText[0]' will echo the var i think you need '"+$strFormText[0]+"' regs, g00fy

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups