20,316 Topics
I have a main.php page with multiple divs. I load whole pages in these divs using AJAX. Some of these pages have forms with submit buttons. The structure of the pages is like so: For acc_settings.php [CODE]<form enctype="multipart/form-data" method="post" action="acc_settings.php" > . . <button type='submit' name='update' >UPDATE</button> </form>[/CODE] So the …
how can I align the link i mean i can i manage the 4 link two of them at the left corner two of them at the right corner? [code=html]<style type="text/css"> .sag {text-align: right} .sol {text-align: left} </style> <a class="sol" ... <a class="sag"...[/code] but it doesn't work
This is an AJAX/Prototype problem, which is independent of the server-side scripting language I'm currently using. I have the following multi-demensional nested array, which I have successfuly turned into a JOSN Object as such: [CODE][{"PlayerName":"Ron Artest","Positn":"Forward","Height":"6-7 l","Weight":"260","College":"St. Johns"}, {"PlayerName":"Kobe Bryant","Positn":"Guard","Height":"6-6 l","Weight":"205","College":"Lower Marion High Sc"}, {"PlayerName":"Andrew Bynum","Positn":"Center","Height":"7-0 l","Weight":"285","College":"St. Josephs"}, {"PlayerName":"Pau Gasol","Positn":"Forward","Height":"7-0 …
hi all, i have a problem i am trying to open a pop up in Iframe window. i am able to opne it in center of iframe window but i wants to open it according to the scrol position of browser window. I m using the following jquery plugin code: …
Hi Everyone! I don't think this is a hard question for all of you well versed in javascript and jQuery, but I seem to be having some problems. I am building a forum and I am experienced in PHP, MySQL and even in jQuery now somewhat, but I have run …
I'm having difficulty trying to return a multi-demensional array using Javascript Prototype's Hash Object. I have been able to return the values of the following associative php array using JSON and Javascript Prototype's Hash Object: php array [CODE]$player = array( 'PlayerName' => 'Ron Artest', 'Position' => 'Forward', 'Height' => '6-7', …
is it possible to fetch data from mysql and storing it in javascript array..!!! . . waiting for valid reply.. :)
I would really appreciate some help with this. I have searched and searched the internet but cannot find information on exactly what I am trying to do. I have a javascript toggle function: [code] function toggle_change() { var ele = document.getElementById("change_log"); var text = document.getElementById("Toggle_change"); if(ele.style.display == "none") { ele.style.display …
I have my back ground in VC# is desktop application development. In VC# [CODE] if(user.Text == "admin") { form f = new AdminForm(); f.show(); } else if(user.Text == "Facaluty") { form f = new FacForm(); f->show(); } [/CODE] on different user level i can open differnt form according to their …
hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks
Hi Dears I want check the value of my gridColumns , I want user only type digit, I don't want let user to type any thing else except digit How I can check it? and in which event I have to write this codes?
For the last three days I have been working on developing a view panel that will display the users site stats and there sites info on one of my site. I plan to use a absolute div with a title bar that is the handle for the drag and drop …
hi, just need help on how to get started on how to make a scrolling text on an iframe..like a scrolling news on a page.. any ideas is greatly appreciated :)
Hi people, How to I can detect if a div was changed after the page loaded? E.g. by innerHTML function. ps: onChange not is valid for tag div. Reference here on [URL="http://w3schools.com/htmldom/event_onchange.asp"]w3c[/URL]. Thanks!
While I am a veteran OOP programmer, I am stumped on aspects of the scope of javascript objects. What follows is a self-contained custom javascript class who's function is to manage a suite of containers as accordion sliders. I got it to work but must-be I'm not sure why it …
JavaScript solution for show text statistic like this [b]online-utility.org/text/analyzer.jsp[/b]
hello i want to prevent copy image from website. for that i found a trick. [CODE] <SPAN STYLE="background-image: url(hemcircuit.gif)"><IMG SRC="transparent.gif" WIDTH="195" HEIGHT="190" BORDER="0"></SPAN> [/CODE] where[COLOR="Red"] hemcircuit.gif[/COLOR] is main image and [COLOR="Red"]transparent.gif[/COLOR] is tranparent image file . [COLOR="Red"] WIDTH="195" HEIGHT="190"[/COLOR] is the width and hight of original pic. it is working …
How can I block a content from being copied and right clicked.............. please I want it fast
I'm looking for a way to detect when a JFrame is moving (maybe there is some kind of listener). I have a primary JFrame that loads a 2nd JFrame next to it. I want this 2nd JFrame to move simultaneously with the primary JFrame as though it were attached. I …
hellow everybody, i have created a image gallery, i am displaying a button name "[B][COLOR="Red"]Collect[/COLOR][/B]" with every image, when ever a registered user clicks on this button, the image id will be stored in the database table, but it must be behind the scene, i mean without refreshing the whole …
Hello people. I have a pop up window and i have 2 pages that open the same pop up window. I want to make a button hidden when one specific page opens my pop up. If the other page opens my window; i want the button to be there and …
Hello guys! I want to create a dropdown menu to my site and I did it with JS instead of CSS because some functionality was needed that is'nt available in CSS, so I wrote it completely in JS (the styling is in CSS of course). Now, after I've ironed out …
Hey guys, I have come unstuck... cost... I started using Ajax yesterday and have been pleasantly surprised by how easy to use it is... What Ive done is build a crude instant messenger, which people need to log into... however, because of how I intend on using it... I want …
guys i need help, how could i get the id of a button? i have this code [code] echo "form action = 'sec_ph_fileMain.php' method = 'post'>"; echo "<input type = 'submit' name = 'upload' value = 'Upload' id = 'hi'>"; //variable declaration $upload = $_POST['upload']; [/code] what i want is …
Hi guys, I was hoping some one could help me with a problem im having with Ajax. Im very new at Ajax and don't really understand it completely. My current situation is as follows: 1: I have a main page which loads a flowchart.gif image. 2: Along side the flowchart …
Hi everyone, I am doing my application and running it in my browser as [URL="http://localhost/FormBuilder/index.php/controllername/action"]http://localhost/FormBuilder/index.php/controllername/action [/URL] eg.. [url]http://localhost/FormBuilder/index.php/forms/view/1/5/Invitee[/url] results the correct page. which is generated bby using the datas in my Database. But if i tried to use like [U] [url]http://myipaddress/FormBuilder/index.php/forms/view/1/5/Invitee[/url][/U] only some parts are retrieved from my database.WHy so …
Hi, I'm looking to create a drop-down menu with rather long option titles. The problem is that I want to restrict the boxes size otherwise the size changes to the length of the longest entry. When I use the length attribute, it forces the drop-down to be a certain length, …
Hi... I am using one filedset within div and wrote javascript for dragging the fieldset. I am able to drag, but it is coming out of the div( scrollbar ). Scrollbar should scroll when fieldset is dragged out of the scrollbar since it is defined within the div. How can …
Hey guys, I'm trying to run a javscript on a page which also has a master page but it won't run. Please tell me the procedure for it.
Hi Guys, I really hope someone can help me out here I have a php form that submits to a database which is all fine, a portion of the form allows for more rows to be added as needed but for some reason it only allows for upto 9 rows …
Okay this is what I am having trouble with Button "d" i want it to run in a sequence of button A, b, then c. then b, c, then a. and soforth. I've been working at it for a week now. I have button a b and c working just …
hi frnds, I have just studied html, css and javascripting. I think that though I got familiarized with the syntax and the purpose of these, I don think I am able to do something good . Can someone suggest some small projects I can work on So that I can …
Hi, I have a JS for submit the screen. [code=JavaScript] var screen=document.getElementById'newComponentDetailsEntryForm'); screen.action="<%= request.getContextPath()%>/"+"newComponentDetailsEntryViewAction.do"; screen.submit();[/code] this is working fine in IE but can't work in firefox. Kindly suggest. Thanks in advance.
Hi, i am doing an application which make use of JQuery and Cakephp . In this i am using like the following to retrieve the values from my controller side [CODE] var getformid; $.getJSON("http://localhost/FormBuilder/index.php/forms/getFormEntry", function(json) { getformid=json.forms[0]["id"]; alert("Form id inside "+getformid); });//json alert("Form id ouside "+getformid);[/CODE] In the above code, …
I have had a look at some javascript functions in the form: [QUOTE] $('#css-style-definition').click(function() var newText = $('#console-msgs').html(); [/QUOTE] Does anyone recognise the syntax? Where can I get information on what is happening here?
Hi, I have Image.js and Main.js files. I create image object like test = new Image(...); and it can be seen on screen but when i try to do call Move method like test.Move(x,y); it crashes. Is there anyway to do that? My code : main.js: [code=JavaScript]var objBall = new …
Hi everyone, I had a problem when to run the code. it mention that Unknown server tag 'ajaxToolkit:CascadingDropDown'. i already include the ajaxtoolkits reference and also [code]<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>[/code] What is my problem?.
I have a PHP form with a html section at the bottom. There are 14 input text fields on the form and I want the form to send of the email as it should do and also take the name field, pass it to the following web page and display …
I'm trying to serve static content from a cookieless subdomain s.mydomain.org.uk, so that image/css requests from pages at [url]www.mydomain.org.uk[/url] don't get sent with needless cookie data. The trouble is that Google Analytics insists on adding its cookies (_utma, _utmz) to those requests anyway! My code is: [CODE]<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> <script …
Hi, I'm having problems with aligning my header.html - I'm using a frameset with 2 rows, one for the header and one for the main area of the page. The problem is that I'm trying to use vertical-align to move my links in the Header page to the bottom of …
Hey everyone, I am thinking of becoming an User Interface Designer. I was wondering what "skills" do you need to become one? Currently I am a Computer Science and Graphic Design major. Does anyone know what other things I would need to learn in order to become a User Interface …
Please help me. I have a site which we'll call "mysite.com" that contains 3 frames. Frame 1 is stuff that never changes (header image, counter, etc). Frame 2 is a menu. Frame 3 holds the contents of whatever link is clicked in Frame 2. The problem is that I don't …
Hi All, Im busy working on a practice area for a CMS. I have it set so on a click, the edits are saved to mysql, but what im really after is a pop up window to show how it will look. ive tried java script, but the likes of …
Hi guys! I'm designing my first site and i've stumbled on huge block. Problem I'm having is that Ajax doesn't seem to update my MYSQL table in firefox. I have two forms and two functions (each initiating a XMLHttpRequest). First is to display a MYSQL query using PHP and second …
Hi, I'm trying to configure a nested frameset within an Iframe. I'm not sure if it's possible but maybe someone can help me out... [CODE] <iframe src="Home.jsp" allowTransparency="true" width="770" height="580" frameborder="0"> <frameset cols="10%, *" border="0"> <frame name="leftFrame" src="Black.html" /> <frame name="rightFrame" src="White.html" /> </frameset> </iframe> [/CODE] With this code; either …
Hi, In [B]search_results.php[/B] I have a variable named [B]$path[/B] which display something like: [I]C:/documents/personal/home.doc[/I] I would like to create a [B]button[/B] that link to a new window which is going to display: [I]C:/documents/personal/home.doc[/I] Right now is being displayed in search_results.php like this: [CODE=php] echo "<td align=left bgcolor=$bgcolor id='title'> <font face='Verdana' size='2'>$path</font></td>"; …
how can i don't allow that the picture load again i mean when i refresh my page it loads picture again how can i solve this problem that the upper part of the page will refresh the down part not. I wrote this but it doesn't work on chrome and …
Hi, i am doing an application like a Form builder.. I am having a design page where i am generating the Fields using JQuery and displaying them each in a Div in the Preview panel of the same page. In my code i am saving all the Fields in the …
This code helps you to add the current webpage to the browser's favorite pages section. [code=syntax]<a href="#" rel="sidebar" onclick="if(document.all && !window.opera){ window.external.AddFavorite(location.href, document.title); return false; } else{ this.title = document.title; }">Add to bookmarks</a>[/code]
Hi, I want to round of the salary amount to the nearest 0.05. eg. if my salary is 1000.23, it should be rounded to 1000.25 and if the salary is 1000.26 it should be rounded off to 1000.30. The Math.round function is not helpful in the above sceneario. Suggestions pls …
The End.