[jQuery] Javascript question.

2008-11-09 Thread George
I am writing an object that gets data using AJAX and shows it in Also this object must provide refresh method so data can be easily refreshed. Here is my implementation function GetD(tb) { $this = document.getElementById(tb); var obj = new MyData($this); return obj; } function My

[jQuery] Javascript question: Get elementid inside an element

2007-06-01 Thread Mark
Hey, For example take this code: Now i want to have the InnerHtml of id 0011 one way to do that is: document.getelementbyid('0011'); But that id COULD be in more places.. (i know it`s not good for id`s.. but in some cases it`s possible) So how do i get the id: 0011 without

[jQuery] JavaScript question (don't think it's jQuery related)

2007-05-30 Thread Brian Ronk
At first I thought it was a problem with the forms plugin, but I don't think so. In IE (6&7) I have an issue related to forms. The data that I'm getting back (JSON) isn't being displayed. Here is the success function that I have setup for adding a note in my system: function finishNote(json, s