Let’s face it, life isn’t worth living most days. What can you do about it? I’m afraid you can’t do much. It will cause you to try and escape from reality and then where will you be? Crushed without a place to go. Yeah, that’s the kind of consequences I’m talking about most of the time. So, why bother with it all? I’m not sure why I do most days. Wouldn’t it be easier to off myself? I mean who hasn’t thought about killing themselves from time to time? I know I have. It would be nice not to have these thoughts and feelings about my life. But I do have them and they won’t go away. So I must deal with them. There’s nothing wrong with that, I guess? Maybe there is. I don’t know for sure. So just allow it to be whatever it wants to be. If life wants me dead, who am I to argue with it? There’s so many things in this life that don’t matter. So many things in this life that do matter. I need to find a balance in between the two things and make it work out for me.
So here's a simple problem I had earlier this week while working on a personal project.
I had a webpage in an iframe that spanwed a window. The new window would either add a record to the database or update an existing record. The page that opened the window would then reflect the updated data.
Well for a while I tried various different things. Then I finally came upon the correct way to do it:
window.opener.location.reload(true);
So after I do my updates or additions, I run that code and it refreshes the data list and shows the new information.
Easy. As. Pie.
Comments
Post a Comment