New to the Mac (running on Tiger); Oldtime PC user/developer:
Have a question -
Have a browser-based pgm and want to integrate it with a softphone package,
so that the number in the browser "jumps over" to the softphone, for a one-button dial job.
Then have the browser-based pgm log the...
Thanks for that idea, jpadie.
I hadn't even thought of developing in Applescript all this time.
Know of a good tutorial I can learn from, especially one that deals with interfacing between two programs?
I'm developing a computer program on my Macbook that runs in a browser.
It's written in PHP & javascript.
It displays phone numbers to call, one after the other.
As of now, I dial my VoIP phone.
I'd like to interface with a softphone so that the telephone number
in the browser shows up in the...
Trolacious - I like to keep my styling and javascript external to my php & html code.
So although the form is submitted, I capture the event by a button's event handler.
Kaht - I've got many textfields in the form.
On any of these, were I to hit ENTER, the browser submits the form, leading to...
I've got 4 fields in the left side of a form's fieldset, and others on the right.
The ones on the right are tabled - and for now I'm not concerned with.
The left fields are nested inside label elements, such as:
<label>Name<input id='pname' type='text' size='32' /></label>
The CSS to control...
---------------------------------------------------------------------
That didn't work because all my buttons are input type = "button".
I think the reason I did that was to give all my buttons different functions
when clicked. And I do not have a formal "Submit" button.
I tried your...
My PHP code goes awry when the user hits ENTER
after putting the cursor in a form's input field.
I'd disable the fields, but I want to enable the user
to update the data.
But I only want him to update the stuff after he hits the "Update" button.
How do I ensure via javascript that nothing...
I have this input field in my opening page markup:
<input id='que1' size='20' value='$q1' />
and made its value over 20 characters to test this CSS styling:
#que1 {overflow: visible;}
Tested it in FF and Safari, and it won't overflow to display its entire contents.
Do you see why not?
I don't know why, but my sql worked when I wrapped the values in quotations.
These values were destined for varchar fields, but Mysql seems unable to figure that from what's between the commas, even though it should be "expecting" these values between the comma delimiters to be text data...
Well - I then tried to do it via sql.
INSERT INTO Prospect
(prospectid, name, lastdialon, lastofferon, addr1, addr2, city, state, zip, redialdate, phone1, phone2, email, fax, jobtypeid, listid, lastfset,
demographic1, demographic2, businessid, sourceid, filler1, filler2, filler3, filler4...
I use phpMyAdmin 2.10.0.2 to administer Mysql 5.0
My PHP version is 5.2.1.
Always "affected rows" ends up to be only 1,
when I have over 300 rows in my datafile.
Can you tell me where my import procedure goes wrong?
Here's what I do to populate a table.
After choosing the database in the left...
jpadie - thanks!
For some reason, my include_once "daysago.php" file,
(the name I called your script),
php had trouble finding - even though it resides
in the same directory with my other include_once script "config.php". (see error below).
This forced me to use your code inline.
Then it worked...
My TIME value captured in javascript is still an issue.
I see I opened a bag of worms, but I'll try to keep this time issue simple.
My Mysql table has 4 fields:
1) A char field 15 long.
2) An int field 15 long.
3) A Time field, and
4) A Date field.
My javascript gets a time in milliseconds...
This ajax thing doesn't allow me to echo my results;
Apparently it's as if the echo would be interpreted as the "return" of this php file,
though I'm not sure why. Anyways,
because I could not call your function, I
1) coded it inline, and
2) put the value into a mysql table.
and it came up...
I want to trap the TIME an event started, to insert it into a MySql table.
In my javascript, I wrote:
start = new Date( )
starttime = start.getTime( );
When I do that my alert shows a 13 digit number. (OK, I guess).
But now I need to INSERT that time into a MySql table.
So I send it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.