Simple Problem (Quotation Marks inside of Quotation Marks!!)

Discussion in 'HTML & Website Design' started by wd_2k6, Mar 18, 2008.

  1. #1
    OK I have a form and i have a value="whatever" field

    The problem is within the whatever text i have quotation marks, so it closes the value att if you understand me.

    What i want is: value="blahblahurl="blahblah.foo"moreblahblah"

    but the quotation mark from the " closes it off!!

    EDIT: No problem fixed it already by using " instead of a quotation mark!!
     
    wd_2k6, Mar 18, 2008 IP
  2. matthewbeckman

    matthewbeckman Peon

    Messages:
    140
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use &quot where you need the inside quotation marks.

    Edit: Nvm you got it before I could post!
     
    matthewbeckman, Mar 18, 2008 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hmm OK this is progress, but i still have another problem now. OK this is my form:

    <form>
    <input value="&lt A youtube video EMBED code goes here &gt;" onClick="blah" readonly="readonly" style="width: 340px; margin-top: 2px;" type="text">
    </form>

    This is causing it to embed the video when it should be displaying the text! What am i doing wrong?

    EDIT: Found out what's wrong again it is because Wordpress is automatically converting the code.
     
    wd_2k6, Mar 18, 2008 IP
  4. FBTools

    FBTools Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hello wd_2k6. Try \"
     
    FBTools, Mar 18, 2008 IP