www.webdeveloper.com

Search:

Type: Posts; User: pr.longhorn

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    418

    Rotation of the blocks

    I had a random tip section..But I wanted it to be rotation each of the tips instead..here is the code:-
    /****
    Show a random tip within the class names selected
    ****/
    $(document).ready(...
  2. Write a block of Html in Javascript (like JSP)

    <script>
    var thePage = location.href.substring( location.href.lastIndexOf("/")+1, location.href.lastIndexOf(".jsp") );
    if( thePage == "home_reg"){
    document.write("<b></b>");
    }...
  3. Replies
    1
    Views
    1,446

    JSP : How do I access a CSS Class

    Code:-
    <% if( ____________ == true )
    { %>
    <div class="right-col-bottom box-wrap">
    <%@include file="rightcol_xss_tips_home.jspf" %>
    </div>
    <% } %>

    How can we declare a CSS Class (in the...
  4. In one place you say u dont like the...

    In one place you say u dont like the javascript...and in other u say u dont like the html...i think u need to understand the difference between the two first. No need of your views on -you like this...
  5. sorry I had the form name wrong...oops! :eek:..it...

    sorry I had the form name wrong...oops! :eek:..it works..thanx all
  6. not working for some reason

    The changed code:-

    function reset2(myform)
    {
    document.forms['myform'].name.value = "";
    document.forms['myform'].email.value = "";
    document.forms['myform'].pwd.value = "";...
  7. is there another way is declaring the elements

    I have tried the get element by Id (and declared id ofcourse)...but all seems to fails

    so I have a form and has 4 inputs..the javascript for it is:-
    function reset2(myform)
    {...
  8. Replies
    2
    Views
    2,185

    yep i tried that...worked

    function reset2(myform)
    {
    document.forms[0].elements[0].value = "";
    document.forms[0].elements[1].value = "";
    document.forms[0].elements[2].value = "";
    document.forms[0].elements[3].value = "";...
  9. Replies
    2
    Views
    2,185

    reset page on refresh

    Hi,
    I am not able to reset my text for a login page ie after the page gets refreshed the text entered still remains...my code:-

    <p>Name</p>
    <input type="text" name="name" id="name"...
Results 1 to 9 of 9
HTML5 Development Center



Recent Articles