• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Need Java code to copy and paste from a widget to a text box on a web page

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm an new to java scripting and maybe I'm trying to do this wrong. I'm looking to making a time tracking widget that has 10 categories to track time spent on different projects. Coding the HTML with a css page in dream weaver was no problem and I have it working on dashboard. Where I'm stuck is making the submit button take the text that I've entered in to the widget, copy it, open a web page and paste the text to a text box on that page.

Any help you guys can give me would be greatly appreciated.

Eric
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

You might find answers at Apple Developer Connection - Dashboard Programming Guide.

Note that JavaScript is different than Java, so you might also try the JavaScript forum.
 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As someone who is fairly fluent in Javascript it amazes me that I haven't yet even had a chance to look into Dashboard widgets yet. I think it's cool that you are posting here. Perhaps we will all learn something from you.
 
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!