bleustreak12
Members-
Posts
73 -
Joined
-
Last visited
Never
Everything posted by bleustreak12
-
I am getting this error when I use this header("Location: /"); to redirect to home page.I believe there is a javascript alert which come before this is called, that gives the below error, I cannot remove the alert so is there nay other way I can go about redirecting without giving me the below error ? A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /home/dsdsd/application/core/MY_Controller.php:dsdsds)
-
similar to how we have onfocus and onclick on input tags I am using the below method( if the method is wrong please let me know what would be the proper method ) for validating and submitting a form through javascript when someone presses enter on a textbox in a field in a form Example when someone writes the password in the password field and presses enter (when the cursor is on the password field) the form should validate and submit. I even have a submit button but I want the same thing to happen when enter has been pressed on the textboxes I am using this right now onkeypress=‘if (event.keyCode == 13) { validate(); }’ for my textbox fields the issue over here is that when the history of my text box shows below my text box and I select it by pressing enter it does not take the value first in my text box. It straight away validates the value in the text box Example: I have typed abc in my email textbox, I get abc@xyz.com below my text box showing that I had typed that earlier, now when I do down by pressing the down arrow and pressing enter it does not take abc@xyz.com in my text box but straight away runs validate() and gives me an error as wrong email format. I believe it should first take my old value in the text box and then run the validate function The issue is that it should validate and submit form when enter is pressed in input(textbox) field, but currently it does not select history and run the javascript validation function I am using codeigniter 2.1.0 but I thing this comes in javascript domain
-
I am using this number_format($variable,2,'.',','); Is this right?
-
Thanks There are certain places where I need it to be double So I believe it should be echo (float)$Price; Right?
-
0 down vote favorite share [g+] share [fb] share [tw] In my html I have <input type="hidden" name="Code_value" value="xyz"> <input type="hidden" name="Code_value" value="abc"> <input type="hidden" name="Code_value" value="rst"> when i submit I take it in my ASp.net code I take them as string Items = Request.Form["Code_value"]; the value of Items is xyzabcrst in PHP $Items=$_POST['Code_value']; The value of items is rst It takes the last value in php is it because there are multiple Code_value items if so why is it not taking just the last value in Asp.net
-
will this code check if value is null
bleustreak12 replied to bleustreak12's topic in PHP Coding Help
empty function takes 0 also as empty, what if my $_SESSION["cart"]=0 -
will this code check if value is null if($_SESSION["cart"] != null)
-
I have the following code in asp.net Convert.ToDouble(Price) and I am confused should I use $value= number_format($Price, 2, '.', ''); or echo round($Price, 2); CAn anybody help me as to what it will be am I not using some PHP function
-
Obj_12.Amount.ToString("N2"); will convert 987.1 to 987.10 I need the proper decimals
-
What will be its PHP counterpart?
-
I have written this in my asp.net application and have to now convert it to php string money_amount = ""; money_amount = Obj_12.Amount.ToString("N2");
-
Any ideas for php and javascript/Ajax - script for image editing?
-
I would want one which could be easily integrated into a php website preferably Joomla.I understand that mostly server side code is required but I had seen one with Javascript and Php which was quite good but I cannot remember right now
-
I have tried searching on google but have not found a php image editor which allows me to draw, put effects on and image using the GD library, any good links or scripts.? I want the user to be able to draw with his mouse on an image
-
Thanks nice link but I cannot find a similar maximize and minimize button in the dialog the client is very adamant about having exact popup to http://prototype-window.xilinus.com/samples.html first one. I would really like it if jquery was able to achieve this
-
I have tried google but I cannot find the minimize and maximize buttons like in http://prototype-window.xilinus.com/samples.html the first 1. Open a simple window (click here) one in jquery can somebody provide me a good link
-
Can anybody provide a link to such a script in jquery or mootools
-
any example or would be great
-
Hi, I have some effects right now which come up only when someone clicks on a Hyperlink or a button. I want the same thing to happen when the page loads automatically without somebody clicking on the link. How can I run a button or a hyperlink on body onload function(i.e when page loads). Is there any other way to run a link or button when page loads can you provide me examples
-
Hi I would like to know if there are similar scripts in Jquery and mootools to get the similar dialog effect as in http://prototype-window.xilinus.com/samples.html My client especially likes the first one. Any help would be great.
-
Form to show in popup similar to lightbox
bleustreak12 replied to bleustreak12's topic in Javascript Help
Yes I have tried the jqueryui It is ok but it is giving some conflict with my other jquery files that i have . It would be nice if I could get some other methods to achieve my popup -
Form to show in popup similar to lightbox
bleustreak12 replied to bleustreak12's topic in Javascript Help
I want something similar to what happens when you click on the top right login on this page http://khojguru.com/ I now have 2 forms and I don't want them to conflict in any way. -
That page tells that you have to change your settings manually.but the issue is I cannot tell all my users to make the changes .
-
Thanks but the client likes an exact same effect to the above site. Any tutorial for this kind of effect?
-
this website http://demo.yootheme.com/oct08/