Javascript file modifying an html file that it is not called from? Jquery Selectors?

Up vote 0 down vote favorite share g+ share fb share tw.

I would like to be able to have two pages. Index. Html and pictures.html.

I have an index. Js that changes the display properties of index. Html (it puts data based on people into tables and makes it look nice).

I would like this current index. Js file also to be able to edit the pictures. Html file and change information there.

Index. Html would link to pictures. Html to display pictures of a person (based on the persons name I have them saved smith1.

Jpg, smith2. Jpg, reagan2. Jpg, ect).

Is there anyway that this javascript file could get DOM elements based on their id or class of the second file (pictures. Html) even though it "lives in" index. Html?

When I say lives in it is called at the top of the index. Html page. Thanks javascript jquery html file selector link asked 4 mins agouser125571331.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions