That's not what I meant:) I like the tabs being above the URL bar, but previously the tab selection started from the top of the screen (y=0). So I could just quickly push my mouse up and done. Now I have to actually aim it just slightly below the top, because the tab is now a few pixels below the top.
In other words, previously I only had to aim with my mouse horizontally, now I have to both vertically and horizontally. Super annoying.
Question
Jose_49
Hi people. I know, after some Googling, that it is possible to manipulate a loaded content through Ajax and interact with it, with:
But what I want is the following:
$.get('http://thepath.to/my/site/and/file.php', function(data)
{
var content_s = $(data).find('#cds_global');
$('#dlm_btn_settings').html(content_s)
});
[/CODE]
I want to load a page. From that page, I would like to get a specific <div> hence the ".find" function.
Now, from that <div> whose ID is "cds_global" (Without quotes), I would like to get ALL HTML + JavaScript functionality.... How do I do that?
Edit: BTW, thanks a lot in advanced :p
Link to comment
https://www.neowin.net/forum/topic/1125796-how-do-i-use-the-javascript-from-a-file-i-included-using-jquery-through-get/Share on other sites
3 answers to this question
Recommended Posts