15,120 Topics
| |
hi again, i'm wondering if it's possible to return an array from my php generated content to ajax's responseText. I tried echoing back the whole array variable but can't seem to fully receive it in javascript. somewhere in file1.php <?php $myArray = array(); $myArray['name'] = "ajax tech"; $myArray['age'] = 20; … | |
I have an HTML table which displays records from a database. The data are stored in sql database and the records are retrieved as a JSON object and then appended to the table. Rather than loading all the data in the table, I have a button which allows the user … | |
I was trying to get the basics of angular.js down by following this video: http://www.youtube.com/watch?v=i9MHigUZKEM#t=44m52s The routing in the video is outdated so I tried to fix it with by including the new required arguments like ['ngRoute']. I can't figure out why it isn't working. Am I missing addtional things … | |
Is that any way/tricks that able to validate the end-users choosen date is not greater than today? | |
I'm having difficulty opening message content for each unique message because I'm struggling to get the PHP variable `$message['id']` to a url defined in a javascript file. My foreach loop that echos out all of the messages for the user: foreach($mess_data as $message){ echo' <tr '.(($message["read"] == '0') ? 'class="unread"' … | |
Hi i want to check the scroll position , like if its greater than 200 from top they it may generate a popup for signup <script> jQuery(document).ready(function($) { // hide #back-top first // fade in #back-top $(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { alert(123); } else { alert(321); … | |
Hi, I'm using `THREE.PointerLockControls` and whenever I use them I can't get anything to show up except the ground. My code is based on what I see here: https://github.com/mrdoob/three.js/blob/master/examples/misc_controls_pointerlock.html I know that it works because when I switch to orbit controls (and disable pointerLock) everything works just fine. I know … | |
Good Day Guys So im having this issue with this site that i develop which is running 24/7 that eats a huge amount of bandwidth every time the page reload every 10sec using META TAG that is affecting our operations specifically our net connection. What i wanna know is if … | |
Here Iam creating two dialog boxes on the click on links.When Dialog box no. 1 is open and I press escape key then it gets closed but this is not the case with dialog box no. 2.Why so? <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <a href="#" id="PopUpLink">Open Popup</a> <br><br><br> <input type="button" value="Click … | |
![2674d0acdc10dfedc0936567f2209b57](/attachments/large/3/2674d0acdc10dfedc0936567f2209b57.jpg "2674d0acdc10dfedc0936567f2209b57") As you can see my ajax calender positioning is not below of the textbox of "Date of Birth". This webpage is consist Javascript which applied scrolling animation by clicking each of the sub menu at the left instead of post back. Here is my asp.net code <asp:ToolkitScriptManager ID="ToolkitScriptManager1" … | |
Hi to all this code work well but i want that password appear in asterisk.. [CODE]<SCRIPT language="JavaScript"><!-- function check() { // Prompt user for the password ... pwd = prompt('Enter password before continuing',''); // ... then set the browser location. (change the line below this one!) if(pwd=="sidra") { location.href = … | |
First, just to clear this up, I did not post this is the wrong place. I know the difference between "Java" and "Javascript" I'm working on a project where I want to allow a simple, no intense programming required, way for users to create custom functionality. This is a simplified … | |
Write a java script function which will convert an array to a string. Add this function to a HTML page and should be executed in button click event? | |
Hello everyone, im trying to implement select 2 with jquery validation engine pos-absolute but i cant seem to get it right does anyone know how i would get this working correctly? When an option is selected in the select box the validation engine will still say its required. not allowing … | |
Hello, I'm relatively new to php and ajax. I'm missing a key concept I think, which is causing my unexpected result. I have a php pure css navbar. User selects menu item, which is a button that launches javascript <script> function loadXMLDoc(yearurl) { var xmlhttp; if (window.XMLHttpRequest) // code for … | |
hi to all Please let me knwo how to cover these with datatable if data comes from northwind datatable http://support.softwarefx.com/jChartFX/article/2501243#82490a45-4c79-e211-84a5-0019b9e6b500 in above link data is hard coded .. | |
Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this … | |
Normally when we use post method with forms, the requests are geting cached. I mean when we use the back button to visit the previous page the request is not being sent to the server to display the previous form. It just loads the form from the cache and loads … | |
I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = ' '; $option_text = <<<TABLE <tr> <td>$desc</td> <td … | |
Hi we have developed a web app. In the 1st html page based on the user interaction we are inserting some html into the page using javascript. when user moves to the 2nd page everything is fine. Now if user presses the back button then 1st html is displayed without … | |
My image is embedded in a table cell. I need to know how far it is from edge of window. offsetLeft does not work for this. Neither does style.left. | |
#HTML Markup <table> <tr> <td><asp:Label runat="server" Text="Subject: " /></td> <td><asp:TextBox ID="txtSubject" runat="server" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtSubject" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Label runat="server" Text="Messages: " /></td> <td><asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Height="100px" Width="18em" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtMessage" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Button … | |
i need to improve my skills in java, because i really like software development and web development, but i dont think my skills is in the average level, so if anyone can give me some, advice or maybe some lectures? it would be very helpful THANKS IN ADVANCE :) | |
I have this small project to mine that I am using to learn web development but I've been stuck at a certain point now with AJAX for 3 days now. I have this ajax code that is supposed to submit to a PHP file. function submitArticle() { xhr = new … | |
I have a javascript table that displays contents from an XML file(that stores letter details), I have at each row a view button which I would like the user to be able to click and it will display the letter details for them. Is this possible? The javascript I have … | |
I have created a slide show to load images, it should start the slide show after loading the images completely in the cache of the browser. The problem, the images are not loaded completely. When the slide show starts, I notice delay in viewing images. I would greatly appreciate your … | |
hello, i was wondering if anyone could help me find a way to allow a user to click items in a combo box and have its value populate an input field. Thanks | |
I have a requirement to make the height of a sidebar grow relative to the height of the main window. I currently have a sidebar that is sized to its content, but the main window is always much longer. Is it possible to (a) determine the height of the main … | |
how can i add slideshow in asp .net mvc 4 ? | |
Does anyone here know how i could modify this java script code which automatically refresh a page due to the time interval you set. I need assistance on how i can modify this code so it refreshes only once when the page is opened, <script> <!-- /* Auto Refresh Page … |
The End.