webpage

How to apply javascript to multiple button groups

怎甘沉沦 提交于 2020-07-05 23:53:30
问题 I have css and js on a button group so that when you click a button from the group it shows as active, and when you click a different button, that button becomes active and the rest are cleared. I have to have 22 of these button groups (I only put 2 here for the sake of space) on my page, when I have just one the code works, but when I add the others everything comes crumbling down, can anyone help! How do use the script multiple times, where the script is applied to every group and doesn't

How do I use JavaScript write to a different web page?

萝らか妹 提交于 2020-05-13 14:48:12
问题 I'm trying to take user input from one web page and write it to a different web page that already exists (all in the same domain if that matters). I debug the JavaScript (see below) and see that it iterates through the for loop correctly and builds the correct information to write, but it does not write it to the other web page. Not sure what I'm doing wrong but would greatly appreciate some help! listitem=''; function newHTML() { for (i=0;i<3;i++) { cc=document.forms['mainform'].list[i]; if

How to preview or display or edit an Excel file on web page by C# and .NET framework

拟墨画扇 提交于 2020-03-27 11:53:08
问题 Working on a task that displaying or previewing an excel file, which generated by EPPlus, on web page (.aspx). Now, my problem is all the source point to the keywords: excel web app, excel web service, sharepoint or Excel online, but when i dug into those keywords i lose myself. Most of the information are about how to do the task inside the excel, such as save as html, publish to sharepoint etc. And the rest of the information are delivered by brain-unfriendly example or language. So I am

How to preview or display or edit an Excel file on web page by C# and .NET framework

懵懂的女人 提交于 2020-03-27 11:53:07
问题 Working on a task that displaying or previewing an excel file, which generated by EPPlus, on web page (.aspx). Now, my problem is all the source point to the keywords: excel web app, excel web service, sharepoint or Excel online, but when i dug into those keywords i lose myself. Most of the information are about how to do the task inside the excel, such as save as html, publish to sharepoint etc. And the rest of the information are delivered by brain-unfriendly example or language. So I am

How to click on a hyperlink on a web page using vba excel?

五迷三道 提交于 2020-02-02 15:37:26
问题 I am new to excel vba programing. I have been trying to click on a hyperlink on a web page using excel vba from almost 3 days now. Please help me out. Since I am new to this I might have made a lot of blunders. Pardon me for that. The scenario is : A particular web page has a table with first column as an icon, second column is a hyperlink and a few more columns with some description about the hyperlink. Now, I want to click on the hyperlink in the first row (second column). When we hover

I want an auto hard refresh, not a simple auto refresh on my webpages

孤者浪人 提交于 2020-02-01 04:14:07
问题 I know I can do a simple auto-refresh on some of my webpages (for example, the Home page of my site) by inserting a meta tag like <meta http-equiv="refresh" content="600"> But after doing this I'm getting really long page duration and session duration . This is not realistic, and I think that the refresh does not "reset" the page duration counter, which I think should happen. I guess this could be done with a hard refresh (Ctrl-F5 in Windows, Option+R in MacOSX), but I don't know if it is

Can Javascript natively connect to MongoDB?

徘徊边缘 提交于 2020-01-30 11:24:48
问题 I am trying to find if a Javascript script/file (filename.js) that is loaded when accessing a webpage (via <script src=""> </script> ) can natively connect to a MongoDB instance (running on the same server) and query for some aggregate data. I am then trying to pass the aggregate query data (which returns as a list of documents in Mongo) to Morris Charts, so it will display in a bar chart on the webpage. The only things I have been able to find talk about using Node.js (which I do not want to

Importing data from web page with diffrent Dates in excel using VBA code

烂漫一生 提交于 2020-01-25 07:51:34
问题 i don't know how to import data from a web site ,which i need to do it since 1st of July 2012 until present. Any ideas guys?? I don't know how to do it since url changes. I want to import all the data since July 2012 until now so can i do it through html source of the web page? Sub websitee() With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://www.epexspot.com/en/market-data/intraday", Destination:=Range( _ "$A$1")) .Name = "intraday" .FieldNames = True .RowNumbers = False

Importing data from web page with diffrent Dates in excel using VBA code

天涯浪子 提交于 2020-01-25 07:50:09
问题 i don't know how to import data from a web site ,which i need to do it since 1st of July 2012 until present. Any ideas guys?? I don't know how to do it since url changes. I want to import all the data since July 2012 until now so can i do it through html source of the web page? Sub websitee() With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://www.epexspot.com/en/market-data/intraday", Destination:=Range( _ "$A$1")) .Name = "intraday" .FieldNames = True .RowNumbers = False

how to get a list of links in a webpage in PHP? [duplicate]

六月ゝ 毕业季﹏ 提交于 2020-01-24 14:38:08
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Parse Website for URLs How do I get all the links in a webpage using PHP? I need to get a list of the links :- Google I want to fetch the href (http://www.google.com) and the text (Google) -------------------situation is:- I'm building a crawler and i want it to get all the links that exist in a database table. 回答1: There are a couple of ways to do this, but the way I would approach this is something like the