• Member Avatar for Traevel
    Traevel

    Replied To a Post in Inheritance problem

    Well that depends on what you want to achieve. Create an empty constructor (which will leave you with the possibility of workers that have no information) or supply values when …
  • Member Avatar for Traevel
    Traevel

    Began Watching Inheritance problem

    I was doing the code as part of my lab tutorial. When I tried running the code, it doesn't work. Line 68 has an error. Can help? package t10; import …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Inheritance problem

    If you are using an IDE like Eclipse or Netbeans you can see that, by simply hovering over line 68, the error reads "The constructor Worker() is undefined". It means …
  • Member Avatar for Traevel
    Traevel

    Began Watching AJAX newbie

    Here is my code: <HTML> <HEAD> <TITLE>Menu</TITLE> <script type="text/javascript"> function loadXMLDoc(url) { var xmlhttp; var text,x,xx,i; if(window.XMLHttpRequest) {//code for IE7+,Firefox,Chrome,Opera,Safari xmlhttp = new XMLHttpRequest(); } else {//code for IE6,IE5 xmlhttp …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in AJAX newbie

    `document.getElementById('txtMenuInfo').innerHTML=txt;` and `<div id="textMenuInfo"></div>` are not the same element, change one or the other `t="<td>"</td>";` should not contain the middle " `t="<td></td>";` `var text,x,xx,i;` should be `var txt,x,xx,i;` and `txt=text+ …
  • Member Avatar for Traevel
    Traevel

    Began Watching call id of a table to a new table and insert values to this new table

    I have recently started to write server scripts. Although the question may seem to be very basic but i am not able to get a solution. I have two tables …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in call id of a table to a new table and insert values to this new table

    Well at first glance, in `insert into deals (dealname,productid)` you are using `dealname` and not `deal_name`. Also, where you are using `SELECT productid FROM products WHERE productid = '".$id."'");` you …
  • Member Avatar for Traevel
    Traevel

    Began Watching how to work Draggable plugin

    hello. i want to use the draggable plugin. i have downloaded the custom bundle : [jquery downloads](http://jqueryui.com/download/) im trying: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Draggable - …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in how to work Draggable plugin

    Hi, You are referring to a `jquery-1.11.0` folder in your script tag but in the zip file you provided there is only a `jquery-ui-1.11.0 folder`. Using your code snippet, and …

The End.