Click here to Skip to main content
15,889,281 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionHow to read Doc or Pdf file using javascript or jquery Pin
priya014319-May-12 2:03
priya014319-May-12 2:03 
AnswerRe: How to read Doc or Pdf file using javascript or jquery Pin
frostcox19-May-12 21:24
frostcox19-May-12 21:24 
QuestionJquery quering the db Pin
frostcox18-May-12 8:20
frostcox18-May-12 8:20 
AnswerRe: Jquery quering the db Pin
Vitaly Tomilov20-May-12 11:31
Vitaly Tomilov20-May-12 11:31 
GeneralRe: Jquery quering the db Pin
frostcox21-May-12 6:00
frostcox21-May-12 6:00 
GeneralRe: Jquery quering the db Pin
BobJanova21-May-12 6:42
BobJanova21-May-12 6:42 
GeneralRe: Jquery quering the db Pin
Vitaly Tomilov21-May-12 8:33
Vitaly Tomilov21-May-12 8:33 
QuestionHow to get td background value? Pin
elelont218-May-12 7:43
elelont218-May-12 7:43 
Hi,
I am trying to remove get some url's from a site using opera userjs feature. The problem is that the site uses the following syntax to set td background:

<td background="http://www.test.com/test.jpg" style="border:2px solid #CCCCCC; background-position:center; background-repeat:no-repeat;">


Edit: i dont't know why cp replaces some things:
1) td removed -> td background
2) background-removed -> background-position


I can access the style attributes just fine, but i cannot get the value of the background image.

I try to use it like this (prints undefined):
JavaScript
alert(img.parentNode.parentNode.background);


This works (but does not give me what i need):
JavaScript
alert(img.parentNode.parentNode.style.background);


How does the last one even work, i cant find the .background attribute from w3schools, i see that background-image attribute is available.

But mainly, how to get the td background=... value?

Thanks
AnswerRe: How to get td background value? Pin
ZurdoDev25-May-12 8:51
professionalZurdoDev25-May-12 8:51 
QuestionSend XML data from a Windows Gadget Pin
Scolpit16-May-12 6:09
Scolpit16-May-12 6:09 
AnswerRe: Send XML data from a Windows Gadget Pin
DaveAuld20-May-12 11:44
professionalDaveAuld20-May-12 11:44 
QuestionGoogle And Bing MAps Pin
hunain.esh15-May-12 22:35
hunain.esh15-May-12 22:35 
AnswerRe: Google And Bing MAps Pin
Manfred Rudolf Bihy16-May-12 0:05
professionalManfred Rudolf Bihy16-May-12 0:05 
GeneralRe: Google And Bing MAps Pin
hunain.esh16-May-12 0:49
hunain.esh16-May-12 0:49 
GeneralRe: Google And Bing MAps Pin
Manfred Rudolf Bihy16-May-12 2:05
professionalManfred Rudolf Bihy16-May-12 2:05 
GeneralRe: Google And Bing MAps Pin
hunain.esh16-May-12 2:20
hunain.esh16-May-12 2:20 
GeneralRe: Google And Bing MAps Pin
Manfred Rudolf Bihy16-May-12 2:42
professionalManfred Rudolf Bihy16-May-12 2:42 
GeneralRe: Google And Bing MAps Pin
hunain.esh16-May-12 2:59
hunain.esh16-May-12 2:59 
GeneralRe: Google And Bing MAps Pin
Manfred Rudolf Bihy16-May-12 4:31
professionalManfred Rudolf Bihy16-May-12 4:31 
AnswerRe: Google And Bing MAps Pin
ZurdoDev25-May-12 8:52
professionalZurdoDev25-May-12 8:52 
QuestionHow to get url parameter in jquery? Pin
Member 895932410-May-12 19:22
Member 895932410-May-12 19:22 
QuestionRe: How to get url parameter in jquery? Pin
DaveAuld16-May-12 4:26
professionalDaveAuld16-May-12 4:26 
AnswerRe: How to get url parameter in jquery? Pin
Sandeep Mewara16-May-12 7:18
mveSandeep Mewara16-May-12 7:18 
GeneralRe: How to get url parameter in jquery? Pin
ZurdoDev25-May-12 8:54
professionalZurdoDev25-May-12 8:54 
AnswerRe: How to get url parameter in jquery? Pin
frostcox18-May-12 8:49
frostcox18-May-12 8:49 

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.