Jump to content
php.lv forumi

HTML input vērtība


ArnisR

Recommended Posts

Ir parasta HTML forma. Vienā no tās INPUT (type = text) laukiem ir jau piešķirta VALUE. Kā izdarīt tā, lai tās vērtību nebūtu iespējams rediģēt, tomēr šī vērtība tiktu nodota PHP apstrādes failam kā POST mainīgais?

Edited by ArnisR
Link to comment
Share on other sites

Ir vēl variants.

 

<input disabled='disabled' value='Te nu es arī palikšu! =P' />

 

Protams, abus variantus varēs labot (kut vai ar FireBug), tikai to nedarīs ierindas lietotājs. =)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...