Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

two action in one button click, one after another  RSS feed

 
surya preethaaa
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have four files
*try.html   
*index.php  // mysql data to json format conversion
*in.html    //d3 design
*data.json   // json for d3

try.html


i want to do two actions in one button click (one after another)
first  index.php should load and write json into the data.json file
second the json file should be used in the in.html

index.php


in.html


in try.html file i tried to do two actions at a time,but onlu the index.php file runs and get the result into data.json..
no action in in.html file..
can anyone tell me where it goes wrong???
 
chamini prashakthi
Ranch Hand
Posts: 118
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use syntax as this way at the button onclick event.
 
surya preethaaa
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply...
i used like this

only the d3 file run and show data.json file not found
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!