User Profile

Collapse

Profile Sidebar

Collapse
connectwithme
connectwithme
Last Activity: Apr 1 '08, 03:57 PM
Joined: Sep 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Isn't that the event propogation concept. ex.

    <div onClick="someFu nction()">
    <a href="www.a.com ">
    <a href="www.b.com ">
    </div>

    If I attach the onclick event to the div then every click on the href element will be captured...
    See more | Go to post

    Leave a comment:


  • connectwithme
    started a topic Are all events supported in browser

    Are all events supported in browser

    I am trying to attach a "onblur" event on the body element. IE does'nt throw any errors but the event is not captured by the browser when the onblur occurs on the elements withing the body.

    But if I attach a "onclick" event. That is captured by the browser.

    Any idea ?
    See more | Go to post

  • Looks like the DOM APIs are very strict about the way the document is structured

    When I use this structure.

    [HTML]<td >
    <table id="TAB2">
    <tr id="td3">
    <td id="td4"> Some Test TEXT </td>
    <td id="td5"> <input type=checkbox value="chk-4">CheckBox 4 </td>
    </tr>...
    See more | Go to post
    Last edited by gits; Mar 27 '08, 01:28 PM. Reason: remember to use CODE TAGS!!!

    Leave a comment:


  • Thanks, Yes you are right, Now I have modified the HTML to
    [HTML]<td>
    <table> <tr> <td></td> </tr> </table>
    </td>[/HTML]

    I works for now.. let me work on my logic I will get back on the result
    See more | Go to post
    Last edited by gits; Mar 27 '08, 12:58 PM. Reason: added code tags

    Leave a comment:


  • confused with hasChildNodes() method of DOM

    I am using IE 6.x & Mozilla 2.x
    This is the HTML code

    [HTML] <td id="td2">
    <tr id="td3">
    <td id="td4"> Some Test TEXT </td>
    <td id="td5"> <input type=checkbox value="chk-4">CheckBox 4 </td>
    </tr>
    </td>[/HTML]

    this is the Javascript Code ...
    See more | Go to post
    Last edited by gits; Mar 27 '08, 11:54 AM. Reason: added code tags

  • connectwithme
    replied to Event bubbling does'nt work
    DMJRPO,

    Using the Individual CodeTags negates the purpose of the Event Bubbling
    concept.

    Chetan...
    See more | Go to post

    Leave a comment:


  • connectwithme
    started a topic Event bubbling does'nt work

    Event bubbling does'nt work

    I am using the IE 6.x & Firefox 2.x

    I am trying the event bubbling concept. Herez the code

    [HTML]<html>
    <head>
    <script>
    function call_function(e vt)
    { .........some_c ode_here....... }
    </script>
    </head>
    <body>
    <div onClick="return call_function(e vent);">
    <a href="http:www. slashdot.org"...
    See more | Go to post
    Last edited by gits; Oct 1 '07, 07:33 AM. Reason: added code tags

  • connectwithme
    replied to Accessing JS file from JAR
    while using DWR the Standard JAvascript syntax is not required. dwr.util.getval ue()
    is available in the engine.js provided by DWR

    Thats where the problem is I am not able to access the JS file which is in the JAR
    See more | Go to post

    Leave a comment:


  • connectwithme
    started a topic Accessing JS file from JAR

    Accessing JS file from JAR

    I am new to Java Development. Hence this is a basic question. herez what I am doing

    1. I have Apache 6, JDK 1.6, & Eclipse 3.3
    2. I am trying to work with the DWR samples.
    3. I am trying to access the engine.js from the dwr.jar
    4. dwr.jar is placed in the lib directly of the root/web-inf/lib

    In the Eclipse Project properties I have given the reference to the dwr.jar, but I am just not able to...
    See more | Go to post
    Last edited by gits; Sep 24 '07, 01:34 PM. Reason: added code tags
No activity results to display
Show More
Working...