How to put a CFCOOKIE without a page reload?
Is there a way to put a CFCOOKIE without page reload when a user clicks on a link/button/whatever? For example, a link "add to cart".Thank you!
Guessed it. Here is an example where someone would need it.
Tags: ColdFusion
Similar Questions
-
Trying to create 8.5x11 hardcover with Photos OS X. The models allow only max of 4 photos. Older version of iPhoto has templates for photos 7 to 10. How can I include more pictures per page?
The templates cannot be changed - you can use the themes and templates - however there are certainly pages with more than four available - look at the different themes and find one that has the desired layout
For example, trip has at least three with 7 photos
LN
-
I need an idea how to put several videos on one page
Several videos on one page in Muse needed of a portfolio of video...
Someone at - it an idea how this can be please. (or point me to a tutorial link - one is all that I can find)
I'm happy with either integrated or Menu related objects for videos.
Hosting YouTube videos
I can't find a way to put hyperlinks or URLS into objects and I can't find a way to make small video players in Muse.
If I resized the container... things look very weird. for example, the video will tiny and in a corner.
I feel that I work with half a Toolbox!
I can not even find a model where this has been done.
Any help is appreciated. Thanx.
Hello
You can use a widget of composition for this purpose.
Place the widget Youtube library widget within the 'target' of the composition and resize both the objective and the widget youtube according to your wish.
Kind regards
Rohit Nair
-
To get started with Ajax - how to query the db without 'submit' page?
Hi guys,.
I'm building a simple "power point presentation" - essentially a CF page that can display a large jpg [slide]) all n seconds, I want the page to query the db to ask whether it is necessary to change the jpg and as appropriate who jpg to see her now. In this way, we can control the presentation by updating the database on the fly.
So I think I will reach it as follows:
1. a 'view' page that contains javascript that fires every n seconds code
2. that js somehow pass 2 variables (GET?) to an action page (ie the user id and authentication var)
3. the action page will be the query to the db (using the variables passed to step 2)
4. the action page returns a result (path to jpg for display) which somehow (?) is passed back to the view page
5. the view swaps page then the jpg is to show for the one passed to him to step 4
6. Ideally the display page then also pass another variable 2 action page let us know it has received the update and changed the image accordingly
I'm fine with all the code html and cfm stuff--where I'm stuck is bit of js, I've had a look through google and do not seem to make any progress so if someone could tell me please in the right direction I would be very grateful.
Excerpts / very welcome advice
TIA
Nick
As well as the very popular jQuery and prototype libraries already mentioned, ColdFusion uses for its wizardary Ajax extJS library and Adobe also provides the Spry library. Or you can roll you own and upwards, use the function xmlHTTPrequest() JavaScript.
But I would like to especially underline that all these libraries using the xmlHTTPrequest() feature and that really, you apply to the server, you use just of to do behind the scenes so that the user does not see this JavaScript. But in regards to the client browser and the server is what are normal requests HTTP and not different responses so if the user clicked on a link or submitting a form.
-
Do a page reload until the anchor after submitting a form
I'm working on my portfolio site. I have a form at the bottom of the page.
Problem: When I hit send, the page reloads upward. The user must scroll down to see the error / success messages.
Code:
< div class = "col-lg-4 col-md-6 col-sm-12 collar-xs-12" >
< h2 > contact me < / h2 >
< a name = "contact" > < / a >
< form class = "form-horizontal" role = method = "post" action = "index.php" 'shape' >
< div class = "form-group" >
< label = 'name' class = "col-sm-2 label control" > name < / label >
< div class = "col-sm-10" >
< input type = "text" class = 'form control' id = 'name' = placeholder 'name' = "first and last name" = value "<?" PHP echo htmlspecialchars($_POST['name']);? > ">"
<? PHP echo "< class p 'text-danger' = > $errName < /p >"? >
< / div >
< / div >
< div class = "form-group" >
< label for class = "email" = 'col-sm-2 label control' > Email < / label >
< div class = "col-sm-10" >
" < input type ="email"class ="form control"id ="email"name ="email"placeholder =" [email protected] "value =" <? php echo htmlspecialchars($_POST['email']);? > "> "
<? PHP echo "< class p 'text-danger' = > $errEmail < /p >"? >
< / div >
< / div >
< div class = "form-group" >
< label for the class = "message" = 'col-sm-2 label control' > Message < / label >
< div class = "col-sm-10" >
< textarea class = "form control" lines = "4" name = "message" > <? PHP echo htmlspecialchars($_POST['message']);? > < / textarea >
<? PHP echo "< class p 'text-danger' = > $errMessage < /p >"? >
< / div >
< / div >
< div class = "form-group" >
< div class = "col-sm-10 col-sm-offset-2" >
< id for entry = "submit" name = "submit" type = "submit" value = "Send" class = "btn, btn-WARNING" >
< / div >
< / div >
< div class = "form-group" >
< div class = "col-sm-10 col-sm-offset-2" >
<? PHP echo $result;? >
< / div >
< / div >
< / make >
< / div >
Website: edith - tessier.com
Question: How do I not more not make page reload so it stays down while that always send the message / validation of the page do HOWEVER recharge at anchor #contact.
Edith
action = "index.php #contact' process the form using ajax or use validation on the client side."
best,
Shocker
-
How to put 2 A5 flyers on a page A4 Pages
How to put 2 A5 flyers on a page A4 in Pages? On iMac
Hi Billy,
5.6.1 the pages.
If your flyer is in a text box, resize the box to fit a half page A4. Copy, paste, and then drag the copy down half of the A4 page.
Alignment guides can help (Menu > Pages > Pages Preferences > leaders):
Also Menu > view > show rules.
You can drag a Guide of alignment (orange line in the following screen shot) of the horizontal rule (not to print the Guides).
Menu > View > Show presentation in order to see the page margins and the header and footer.
50% of the zoom for a small screenshot.
File > Menu > print... to confirm the layout
Kind regards
Ian.
Edit: You can drag a Guide to align the horizontal rule (orange line in the following screenshot).
-
How to put my html page created as home page?
I created an html page and I want to put it on the home page so that whenever I open firefox it should open. The page I created is html.
Here's how I did it.
I saved the page to a folder on my C drive.
Then in Windows Explorer, I opened the folder and double click on the page to open it in Firefox. (If Firefox is not your default browser, then you can drag the page of Windows Explorer in a Firefox tab to open it.)
Then I went into the dialog box Options and clicked on the use current Pages button.
It works for you?
-
How to put an application on the dock icon without the arrow shortcut showing at 07:00
Whenever I try to place an application icon in the dock icon get a tiny arrow shortcut to as for the 07:00 click the newly created and connected position.
None of my icons for other applications in the dock has this small arrow on its icon.
So, how to put an icon on the dock without the shortcut arrow display at the 07:00 position?
If I understand you correctly, simply drag the application in the dock. No need to create an alias first.
-
I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?
You can activate it without a SIM card. If it is locked, it takes a SIM card by the carrier, for it is locked. The SIM card should not be linked to an active line of service, but it must be present to activate it.
-
* Original title: windows 7 download
I have a laptop dell M4400 with windows 7 pro OA. HARD drive crashed and I replaced with a new one. How to put Windows 7 on the new hard drive without boot cd? How will I know if 32 or 64 bits? This computer yourself running windows 10?
It has probably comes with Windows 7 Professional 64 bit.
You can download a copy of Windows 7 Professional using the following instructions (update of Microsoft recovery software supports downloads with the COA key):
How to: What are my options for Windows 7 reinstall media?
Make sure you scroll down and read the section:
What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?
You can also use Windows 10 too as you have the right to it as a free upgrade:
- Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
- Reboot several times, and then try again.
- Disable the general USB peripherals (for example - smart card reader).
- If you are using a SCSI drive, make sure you have the drivers available for your storage on a thumdrive device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
- Perform a clean boot, restart, and then try again.
- If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both, then try to install.
- If you are updated through Windows Update, when download reaches 100% disconnect from the LAN (Ethernet) Internet or Wi - Fi, then proceed with the installation.
- If this does not work, try using the. ISO file to upgrade if possible.
- If you are connected to a domain, go to a local account.
- If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
-
I want to put two tables on a page with two columns how can I do this?
I want to put two tables on a page with two columns how can I do this?
It depends on what application you are using.
If you use Word, then a good way would be to create a single table of 5 columns, check the borders of the invisible middle column so that it appears to be two separate tables. You will need to do the same thing for unused cells downstairs as well.
To get the best advice on Office-Word questions, use the forum not the Windows 7 Office forum that you do. Look at the top of this page, just below the logo MS Answers and click on Forums , then select desktop. Once there, you can select Word. By using the forum Office will give you a better chance to find a solution to your problem, as it is inhabited by people who know much about their topic. Search the Forum of office for the topic, then, if no notice is found, ask your question here instead of this.
-
How to put the form into insert mode without clicking a button insert new record
Hi all
I use apex 4.2 on windows, internet Explorer 10 on oracle 11g R2, all 64 bits.
I'm creating mobile applications.
I have a list page, I put the links on this page.
one of the links is a form of opening and passing some values that form.
the form I open with custome plsql trigger to generate the primary key.
I do not include an Insert button in the form, I call you, I want to just the user to type something in the column remarks of the newly opened form.
and when the user clicks the Save button, the folder must be inserted as a new record in the table of underscore.
now, the pk is not because I do not press on the Insert button, since I do not include the Insert button.
now when I navigate my list Page by clicking on the point list and in the newly open shape, I enter some data in the Notes field and click on the button, save
It is not saving the table or give any error?
How to solve this problem?
Kind regards.
Mahjoor,
If your form is wizard generated then
Change your suite save button and put
and confirm that regardless of the Page item Insert Source values contains more
If you manually insert values shaped then write a Page process to insert this page elements values in the table
during the click on the button Save.
I hope this helps you.
Leave.
-
How to put the first page to run?
How to put the first page to run?
Dimitri Gielis Blog (Oracle Application Express - APEX): Change the page (first) by default in APEX
-
How to put a foot in a scrolling page, keep it visible site even when scrolling, using PC
Hello
Please select the footer items and pin them on the bottom like the screenshot below.
Concerning
Vivek
-
Re: How to suggest a number to a page element
Thanks SvenW. I put something like this default value:
begin select DECODE(MAX(COD),null,1,MAX(COD) + 1) into :P17_FIELD_NAME from TABLE_XXX; return :P17_FIELD_NAME; end;
where : P17_FIELD_NAME is the field in the form that contains code.
I put a validation to display a user friendly when message put an existing code and press the new button.
After that, when the user select an existing code, I show other fields and I would let the user change and save the record, but I Don t know how to put in update mode. Any idea?
Thank you
bsalvador
some comments to that.
(1) you can use a NVL instead of the decode. This would make select it a lot easier to read.
begin select NVL(MAX(COD),0) + 1 into :P17_FIELD_NAME from TABLE_XXX; return :P17_FIELD_NAME; end;
(2) instead of validation, you can use the apex_error package to 'translate' some oracle error messages in a user-friendly message. Typical messages as violations of FK ok UK.
Patrick wrote a great article how to: http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/
Advantage: no need of a high before validation, just react on the error.
(3) the "UPDATE" mode would automatically be if you use a wizard to create a form based on a table. All items will be marked as database fields. And thre will be a page DML process that makes the insert or update.
If you have created the question without the help of the wizard, then compare the attributes of the element, but also the process of page with another page where you have used the form wizard. Identify, understand and fix the differences.
Maybe you are looking for
-
Hi friends of Firefox,Some members who were receiving assistance in your forum had personal icons and we talked about changing his profile. How can I create my personal icon and locate and edit my profile please. Thanks and best wishes,Jennymetta1
-
HP 360: My laptop encryption
Hello I bought this HP 360 laptop second hand and so far its worked very well. But after that I changed the operating system Linux I used for more sensative work in college and would be dred think someone walk away with it. Its constantly updated for
-
I have an XP pro pc HP deskjet 5650 printer (C6490A) I use size document 81/2 x 11 "it prints well with that when I pass paper stock map for calandars a few times it will print most or the time it will say wrong format of paper or jam or do both. I
-
I always have to reset the Date & time...
Whenever I turn on my computer, I have to reset the time & date. How can I fix?
-
After the upgrade to the latest version of Windows Live Mail, an e-mail from blocked senders is not moved automatically moved to the junk e-mail folder. The list of blocked senders of origin has been deleted during the upgrade, but I recreated it - b