Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to implement
Message
 
 
À
Tous
Information générale
Forum:
HTML5
Catégorie:
Autre
Titre:
What is the best way to implement
Divers
Thread ID:
01555076
Message ID:
01555076
Vues:
72
Hi all,

I would like to have all my input textboxes to have all text selected when I enter it - same as in VFP with the format property K, if memory serves.

What is the simplest way to implement such functionality?

Also, I have right now
<div id="Phone">
        <div class="float-left">
            <div class="editor-label">
                @Html.LabelFor(model => model.Phone1)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Phone1)
                @Html.ValidationMessageFor(model => model.Phone1)
            </div>
        </div>
        <div class="float-right">

            <div class="editor-label">
                @Html.LabelFor(model => model.Ext1)
            </div>

            <div class="editor-field">
                @Html.EditorFor(model => model.Ext1)
                @Html.ValidationMessageFor(model => model.Ext1)
            </div>
        </div>
    </div>
The Ext is now close to Phone, which is what I wanted, but both controls are too wide and sort of overlapping. What is the right way of making these controls smaller? Should I attempt to add width to the div?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform