User Profile

Collapse

Profile Sidebar

Collapse
Debasis Jana
Debasis Jana
Last Activity: May 12 '12, 06:13 AM
Joined: Mar 23 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Debasis Jana
    started a topic iFrame.onload not working

    iFrame.onload not working

    my JS code

    Code:
    <script type="text/javascript">
    function set(){
    	frames['hf'].onload = function(){
    		alert('yahooo!!!');
    	}
    	window.setInterval(function(){
    		frames['hf'].location.href = 'undefined_page.html';
    	}, 5000);
    }
    </script>
    and my HTML code is
    Code:
    <body onload="set()">
    <iframe name=hf ></iframe>
    ...
    See more | Go to post

  • Debasis Jana
    started a topic Problem with floating header of a table

    Problem with floating header of a table

    The javascript code is like this....
    Code:
    function init(){
    	var mt = document.getElementById('main-tab');
    	var p = getElPosition(mt);
    	var h = document.getElementById('header');
    	var c_w = [];
    	var c_s = h.cells;
    	var c_s_l = c_s.length;
    	for(var i = 0; i < c_s_l; i++) c_w.push(c_s[i].offsetWidth);
    	var h_html = h.innerHTML;
    	var h_w = h.offsetWidth;
    	
    	var div = document.createElement('DIV');
    ...
    See more | Go to post
    Last edited by Debasis Jana; Aug 31 '11, 11:31 AM. Reason: Sentence was not full

  • Debasis Jana
    started a topic Input element detection in IE

    Input element detection in IE

    Code:
    var el = document.getElementById('element-id');
    alert(el);
    Mozilla returns its class name(HTMLInputE lement) but IE returns Object.
    In mozilla if i do
    Code:
    alert(el instanceof HTMLInputElement)
    , returns true; but in IE, it says HTMLInputElemen t is undefined. Even if i do
    Code:
    alert(el instanceof Object)
    in IE, it says false.

    How do i detect exact object type in IE?
    http://krook.org/jsdom/]t...
    See more | Go to post

  • Debasis Jana
    started a topic Unicode posting using POST method
    in Java

    Unicode posting using POST method

    i have a HTML form. An input box is there and hindi value gets submitted. Form action is GET.
    Now i am able to get the value using
    Code:
    request.getParameter("fld_name")
    .
    As soon as i change the action as POST then i am no more able to get the proper value using
    Code:
    request.getParameter("fld_name")
    .
    Could anyone please explain?
    See more | Go to post
No activity results to display
Show More
Working...