hai everyone!

        i want to allow  alphabets only textfield using javascript.i show little bit coding.so any one help me

Recommended Answers

All 2 Replies

function validateAddAttribute(){
    var attribute_name = $('#attribute_name').val();
    var attribute_name = $.trim(attribute_name);
    if(attribute_name == '')
        {
            $('#err_attribute_name').show();
            return false;
        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.