Click here to Skip to main content
15,915,163 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Formatting Numbers to Local Settings Pin
Nagy Vilmos31-May-12 4:06
professionalNagy Vilmos31-May-12 4:06 
GeneralRe: Formatting Numbers to Local Settings Pin
Manfred Rudolf Bihy31-May-12 4:19
professionalManfred Rudolf Bihy31-May-12 4:19 
QuestionExtJS Pin
RameshChTulal29-May-12 1:28
RameshChTulal29-May-12 1:28 
AnswerRe: ExtJS Pin
thatraja4-Jun-12 17:18
professionalthatraja4-Jun-12 17:18 
QuestionUpdate DIV text by Javascript Pin
iucaa27-May-12 10:06
iucaa27-May-12 10:06 
Hi
I have a problem: I have a div inside HTML page then I open/update with to javascript functions: it works fine until I put code inside another div, function open window div but is not the one I want, is just empty.
The following code work fine alone (I repet out of another div)






Lorem ipsum



scrip to open div like window (work fine it's based on exterlan library)

function showdivrecord(ais)
{
return hs.htmlExpand(ais);
}


Once I show div (with function showdivrecord(ais)) - I fill div

function filldivrecord(idrow)
{
var divtxtElement = document.getElementById(idrow).value;
var mySplitResult = divtxtElement.split("|");
document.getElementById("divtxt").innerHTML = divtxtElement;
document.getElementById('picdiv').src= document.getElementById('pic'+idrow).value;
document.getElementById("divtxt").innerHTML = "<hr>0)&nbsp;" + mySplitResult[0] + "<hr>1)&nbsp;" + mySplitResult[1];
}


Sorry I am novice of javascript, by the way I think problem is parameter "this": what have to write to point other right DIV?? (
I guess).

Thank you in advance

AnswerRe: Update DIV text by Javascript Pin
Sandeep Mewara27-May-12 19:58
mveSandeep Mewara27-May-12 19:58 
GeneralRe: Update DIV text by Javascript Pin
iucaa29-May-12 10:20
iucaa29-May-12 10:20 
Questionimplement double click event on Div child elements Pin
Steve Holdorf27-May-12 2:18
Steve Holdorf27-May-12 2:18 
AnswerRe: implement double click event on Div child elements Pin
Steve Holdorf28-May-12 7:14
Steve Holdorf28-May-12 7:14 
QuestionJava Script moveing a picture around the screen Pin
Boaz Yaari26-May-12 5:00
Boaz Yaari26-May-12 5:00 
AnswerRe: Java Script moveing a picture around the screen Pin
Ali Al Omairi(Abu AlHassan)26-May-12 20:57
professionalAli Al Omairi(Abu AlHassan)26-May-12 20:57 
GeneralRe: Java Script moveing a picture around the screen Pin
Boaz Yaari27-May-12 10:43
Boaz Yaari27-May-12 10:43 
GeneralRe: Java Script moveing a picture around the screen Pin
BobJanova28-May-12 23:34
BobJanova28-May-12 23:34 
GeneralRe: Java Script moveing a picture around the screen Pin
Boaz Yaari27-May-12 11:22
Boaz Yaari27-May-12 11:22 
GeneralRe: Java Script moveing a picture around the screen Pin
Ali Al Omairi(Abu AlHassan)28-May-12 0:38
professionalAli Al Omairi(Abu AlHassan)28-May-12 0:38 
AnswerRe: Java Script moveing a picture around the screen Pin
Ali Al Omairi(Abu AlHassan)31-May-12 7:40
professionalAli Al Omairi(Abu AlHassan)31-May-12 7:40 
GeneralRe: Java Script moveing a picture around the screen Pin
enhzflep31-May-12 10:38
enhzflep31-May-12 10:38 
GeneralRe: Java Script moveing a picture around the screen Pin
Ali Al Omairi(Abu AlHassan)1-Jun-12 1:15
professionalAli Al Omairi(Abu AlHassan)1-Jun-12 1:15 
AnswerRe: Java Script moveing a picture around the screen Pin
enhzflep29-May-12 10:41
enhzflep29-May-12 10:41 
QuestionHow to change mouse cursor in jQuery UI resizable plugin? Pin
Tesic Goran25-May-12 0:06
professionalTesic Goran25-May-12 0:06 
AnswerRe: How to change mouse cursor in jQuery UI resizable plugin? Pin
Ali Al Omairi(Abu AlHassan)29-May-12 5:08
professionalAli Al Omairi(Abu AlHassan)29-May-12 5:08 
QuestionA Unique Problem - Ignoring Placing Page on Back Button History Pin
OrangeV24-May-12 5:40
OrangeV24-May-12 5:40 
AnswerRe: A Unique Problem - Ignoring Placing Page on Back Button History Pin
Sandeep Mewara24-May-12 9:02
mveSandeep Mewara24-May-12 9:02 
QuestionHow to make the text box draggable using jQuery? Pin
Tesic Goran23-May-12 8:45
professionalTesic Goran23-May-12 8:45 
AnswerRe: How to make the text box draggable using jQuery? Pin
Vitaly Tomilov24-May-12 16:13
Vitaly Tomilov24-May-12 16:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.