SoFunction
Updated on 2025-02-28

Determine whether the file box is selected as an image

  • Determine whether the file box is selected as an image

    Determine whether the selected image in the file box is...
    2006-08-08
  • Improved version: Add, modify, and delete option elements in select

    Improved version: Add, modify, and delete option elements in select...
    2006-10-10
  • Research on the height of adaptive IFRAME

    Research on the height of adaptive IFRAME...
    2006-07-07
  • js solves "options are empty or not object"

    The old prompts the script error: "options are empty or not an object", but use document. or the object can be retrieved.
    2008-12-12
  • Implement the linkage effect of select by hiding option

    At the beginning, the requirement was to hide some <option> tags based on certain conditions, which was similar to the linkage effect, but the current html specification does not provide hidden effects for <option>, so the commonly used settings display or visibility are invalid.
    2009-11-11
  • Verify the radio value in a form using Javascript

    Many newbies will encounter problems when using Javascript to verify whether radio boxes (radio) in form are selected, because radio and ordinary text boxes are very different when getting values.
    2009-09-09
  • JS form verification collection

    The JS form verification collection has been compiled completely. Friends who need it can search it.
    2011-11-11
  • JavaScript inserts other text at the cursor in a text

    JavaScript inserts other text at the cursor in a text...
    2007-08-08
  • Control the CSS of the input but does not affect the style of CheckBox and Radio

    In some web interfaces, sometimes a global input style is written for convenience, so that all styles will change immediately. What if we can better distinguish checkbox, etc.
    2009-09-09
  • Radio button determines the link's URL

    I seem to have seen a similar effect. Use JS to control the radio box to change the URL of a certain link and return it to different link addresses according to the user's choice. The anchor text of the link will not change, but the link address will change silently. Click Run to see the effect.
    2009-10-10