What I'm trying to do is that when the user clicks #gateway1, it enables the gateway address and subnet mask options. #gateway2 doesn't need to do anything. I know I can just hide/show them if I really need to, but I figured the enable/disable would work.
I am building a program in html that basically generates text based on selections, text input, etc.
One of the things I would like to do is pick a certain file (they are all .pdf files) and automatically open up an Outlook e-mail with that file attached.
My programming skills are exceptionally limited, although with the help of all of you, I have built something pretty phenomenal. I know I can create the e-mail, create the subject line, but if I could make it auto-attach the selected file, that would be spectacular. I can load all the .pdf files into one folder, and the e-mail system used to send the file will be 100% exclusively MS Outlook. Is there a way to do that?
I know you guys are gonna be like, "Yeah, of course, dummy. That's the most basic, GED thing on earth."
Using the UI, I know I apply class="button" to all my buttons, and it styles them. Can I do something similar for all my text boxes so I don't have to style them all individually?
I have a project where I basically have about 500 word documents to go through and cut n' paste values into another program.
All of the values are in text fields, so there are bookmarks or what not. I know I can probably do a macro instead, but it seems like it would be faster to write a script where I can open the document, hit a button to get just the values I need, then drag and drop.
I'm assuming there's a work around, but I can't find it through searching here or online. I figured I was doing something stupid (I was only working in Firefox) but it worked just fine in Chrome and I thought maybe it wasn't me after all.
So when I loaded the div, the buttons were just ugly, grey standard buttons. I added line 36, and it fixed it in IE, but it won't work in Firefox. I have no idea what else to do.
I have a lot of buttons which have identical functions. Here's an example:
$("#death").click(function () {
callType = $(this).val();
$('#category').hide();
$('#event').show();
});
$("#disc").click(function () {
callType = $(this).val();
$('#category').hide();
$('#event').show();
});
$("#pack").click(function () {
callType = $(this).val();
$('#category').hide();
$('#event').show();
});
$("#ill").click(function () {
callType = $(this).val();
$('#category').hide();
$('#event').show();
});
$("#hazard").click(function () {
callType = $(this).val();
$('#category').hide();
$('#event').show();
});
Can I combine that so it isn't so repetitive/redundant? I'm a newbie at this, but it just seems like there must be a simpler way. Maybe an if/else type of thing? I had thought of trying to do it by class, but I have a zillion buttons and they are all classed as "button" using the UI.
I have been building a program which generates text based on specific options and displays it in a pop up dialog box. I would like to have a button which, on click, will copy all the text that is displayed, so I can take it and paste it somewhere else without having to highlight all of it, right-click, and copy. Is there a way to do that?
I used the Themeroller function and downloaded a custom theme, and everything works except the button styling, they are square and grey. Even in the index file it gave me for examples, it just won't work.
Is there a way that if I have a file full of attachments in .pdf format, that if I select them in my browser window and hit "mail to", it will generate an e-mail with the attachment?
So, for example:
I have a text area for e-mail address. I type in joemama@whatever.com. I select the .pdf from a list. I hit "send e-mail". It automatically creates an e-mail in Outlook with the .pdf attached.