• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic