Click here to Skip to main content
15,917,709 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Google Analytics Question Pin
pitechindore24-Dec-14 0:39
pitechindore24-Dec-14 0:39 
AnswerRe: Google Analytics Question Pin
Shane Lessard27-Dec-14 17:56
Shane Lessard27-Dec-14 17:56 
AnswerRe: Google Analytics Question Pin
Member 1134016428-Dec-14 18:40
Member 1134016428-Dec-14 18:40 
QuestionStatus: Tracking Not Installed Pin
Jassim Rahma18-Dec-14 11:34
Jassim Rahma18-Dec-14 11:34 
QuestionPHP studio v/s Visual Studio Pin
Kartik Goyal15-Dec-14 7:38
professionalKartik Goyal15-Dec-14 7:38 
SuggestionRe: PHP studio v/s Visual Studio Pin
Kornfeld Eliyahu Peter15-Dec-14 10:39
professionalKornfeld Eliyahu Peter15-Dec-14 10:39 
AnswerRe: PHP studio v/s Visual Studio Pin
Swinkaran5-Jan-15 17:32
professionalSwinkaran5-Jan-15 17:32 
GeneralRe: PHP studio v/s Visual Studio Pin
Kartik Goyal5-Jan-15 18:10
professionalKartik Goyal5-Jan-15 18:10 
AnswerRe: PHP studio v/s Visual Studio Pin
pitechindore10-Feb-15 21:28
pitechindore10-Feb-15 21:28 
Question.NET VS PHP Server Pin
Kartik Goyal15-Dec-14 7:31
professionalKartik Goyal15-Dec-14 7:31 
QuestionWCF Service having client URL as SSL, how to access the Service Pin
Prabakar11-Dec-14 2:04
Prabakar11-Dec-14 2:04 
AnswerRe: WCF Service having client URL as SSL, how to access the Service Pin
Dominic Burford30-Dec-14 22:15
professionalDominic Burford30-Dec-14 22:15 
QuestionHow do I insert my own text into this script? Pin
Madaxe19-Dec-14 19:42
Madaxe19-Dec-14 19:42 
AnswerRe: How do I insert my own text into this script? Pin
Kornfeld Eliyahu Peter9-Dec-14 20:32
professionalKornfeld Eliyahu Peter9-Dec-14 20:32 
AnswerRe: How do I insert my own text into this script? Pin
S Services12-Dec-14 21:08
S Services12-Dec-14 21:08 
QuestionCan i cache all dynamically generated pages and serve them as pure HTML? Pin
Member 112915226-Dec-14 13:19
Member 112915226-Dec-14 13:19 
AnswerRe: Can i cache all dynamically generated pages and serve them as pure HTML? Pin
Anurag Gandhi31-May-15 2:37
professionalAnurag Gandhi31-May-15 2:37 
Questionvb 2010 web form sql control problem Pin
dcof4-Dec-14 10:17
dcof4-Dec-14 10:17 
AnswerRe: vb 2010 web form sql control problem Pin
Richard Deeming4-Dec-14 10:32
mveRichard Deeming4-Dec-14 10:32 
Questionadding jquery at a joomla's module backend code Pin
isengart3-Dec-14 23:04
isengart3-Dec-14 23:04 
QuestionEditing Elements Using Iframe Pin
MadDashCoder3-Dec-14 19:24
MadDashCoder3-Dec-14 19:24 
Hi, suppose I have a Div on a page and inside of this Div I have a Span, a List, and another Div.

If the page is displayed in an Iframe and if none of the elements has an ID, how would I go about adding a temporary ID when they are clicked using jQuery?

Each time a new element is clicked if it doesn't have an ID it will be assigned the same temporary ID given to the element that was clicked last. So the ID has to be removed from the previous element and then given to the new element.

Obviously I have to first call the load method to load the Iframe then inside the load method I will get the contents of the Iframe and find the body element when the page is clicked. Thus far the code below is what I have inside the load method but I need help in finishing it.

JavaScript
$(this).contents().find("body").on('click', function (e) {
var ClickedElement = $(e.target);

}


Thanks in advance for your help.

modified 4-Dec-14 2:34am.

GeneralMessage Closed Pin
30-Nov-14 2:23
Janak197730-Nov-14 2:23 
GeneralRe: Next milestone in website development Pin
Dave Kreskowiak1-Dec-14 2:36
mveDave Kreskowiak1-Dec-14 2:36 
QuestionLearning & improving web application skills Pin
Angel Hermon27-Nov-14 8:18
Angel Hermon27-Nov-14 8:18 
QuestionPath to CSS Not Working Pin
MadDashCoder24-Nov-14 11:11
MadDashCoder24-Nov-14 11:11 

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.