How to make textbox readonly and how to give image url to a image using jquery

  1. #1

    How to make textbox readonly and how to give image url to a image using jquery

    How to make textbox readonly and how to give image url to a image using jquery.
    i have a textfield
    @(X.TextFieldFor(model => model.Company_Code).ID("txtCompCode").FieldLabel("Company Code")
    And i have to make it readonly using jquery ..i have another image
    @(X.Image().ID("ImgLogo"))
    I want to bind image using jquery .How to do it
    Last edited by Daniil; Jul 30, 2014 at 6:09 AM. Reason: Please use [CODE] tags
  2. #2
    Hi @Aravindharaj,

    It is better to ask jQuery-related questions on a specialized jQuery forum or on a forum like StackOverflow.

Similar Threads

  1. Replies: 1
    Last Post: May 16, 2012, 12:57 PM
  2. [CLOSED] ext:Image - How I can show a menu when click in ext:Image?
    By supera in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:56 PM
  3. [CLOSED] How to make an image button disabled using javascript?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 25, 2010, 7:41 PM
  4. [CLOSED] How to make an image button disable=false after is rendered?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 17, 2010, 8:33 PM
  5. [CLOSED] How to make an image button pressed when the user clicks it?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 01, 2010, 2:26 AM

Posting Permissions