• Resolved pickme

    (@pickme)


    Hi!

    Is it possible to mask an input type=url and add a placeholder https:// ?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ivan Petermann

    (@ivanpetermann)

    Hi @pickme,

    Try use the below code

    <script type="text/javascript">
        jQuery(document).ready(function($){
            $("input[type='url']").attr("placeholder","https://");
        });
    </script>

    or just add the placeholder attribute in the field.

    <input type="url" name="URL" placeholder="https://">

    Thread Starter pickme

    (@pickme)

    Hi @ivanpetermann,

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mask URL’ is closed to new replies.