Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

如何实现选择不同的单选项下方文本域插件开与关

[复制链接]
CrazyChange 发表于 2009-11-6 10:28:41 | 显示全部楼层 |阅读模式
<input name="radiobutton" type="radio" value="radiobutton" checked="checked" />
            学校        <input name="radiobutton" type="radio" value="radiobutton" />
            公司<span id="checkusername">
            <input type="radio" name="radiobutton" value="radiobutton" />
            个人&nbsp;
            <option value="1"></option>
          <option value="0" selected="selected"></option>
        <option value="1"></option>
        </span></td>
        </tr>
上面是单选代码

<style>
@import url(template/default/ccuchs.css);

$strComputer = "."

$colItems = get-wmiobject -class "Win32_Desktop" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
      write-host "Border Width: " $objItem.BorderWidth
      write-host "Caption: " $objItem.Caption
      write-host "Cool Switch: " $objItem.CoolSwitch
      write-host "Cursor Blink Rate: " $objItem.CursorBlinkRate
      write-host "Description: " $objItem.Description
      write-host "Drag Full Windows: " $objItem.DragFullWindows
      write-host "Grid Granularity: " $objItem.GridGranularity
      write-host "Icon Spacing: " $objItem.IconSpacing
      write-host "Icon Title Face Name: " $objItem.IconTitleFaceName
      write-host "Icon Title Size: " $objItem.IconTitleSize
      write-host "Icon Title Wrap: " $objItem.IconTitleWrap
      write-host "Name: " $objItem.Name
      write-host "Pattern: " $objItem.Pattern
      write-host "Screensaver Active: " $objItem.ScreenSaverActive
      write-host "Screensaver Executable: " $objItem.ScreenSaverExecutable
      write-host "Screensaver Secure: " $objItem.ScreenSaverSecure
      write-host "Screensaver Timeout: " $objItem.ScreenSaverTimeout
      write-host "Setting ID: " $objItem.SettingID
      write-host "Wallpaper: " $objItem.Wallpaper
      write-host "Wallpaper Stretched: " $objItem.WallpaperStretched
      write-host "Wallpaper Tiled: " $objItem.WallpaperTiled
      write-host
}
</style>
第二个这个是学校插件代码

<th style="width:10em;">单位:</th>
        <td>
                <input type="text" name="title[]" value="" id="univs_name" onclick="showschool();">
                </td>

最后这个是单位文本域代码

我在注册界面加入了单选栏分别为 学校 公司 在单选下面加了文本域并用了学校插件(就是鼠标点上去就出现一个可选学校列表) 但是我想在注册的时候如果选了公司这个学校插件就失效 选学校这个插件才出现 应该怎么做呢 谢谢
回复

使用道具 举报

coldhair 发表于 2009-11-6 10:45:12 | 显示全部楼层
我也需要,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-15 13:16 , Processed in 0.099541 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表