15,120 Topics

Member Avatar for
Member Avatar for adrive

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; …

Member Avatar for ivan.danshin.9
0
5K
Member Avatar for littledevils326

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 …

Member Avatar for LastMitch
0
902
Member Avatar for NoUserNameHere

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 …

Member Avatar for LastMitch
0
207
Member Avatar for gahhon

Is that any way/tricks that able to validate the end-users choosen date is not greater than today?

Member Avatar for gahhon
0
65
Member Avatar for mmcdonald

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"' …

Member Avatar for htmlearner
0
2K
Member Avatar for pawan768

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); …

Member Avatar for pawan768
0
165
Member Avatar for SamarthWiz

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 …

Member Avatar for SamarthWiz
0
1K
Member Avatar for ehpratah

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 …

Member Avatar for ehpratah
0
358
Member Avatar for amrita111

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 …

Member Avatar for topdude155
0
214
Member Avatar for gahhon

![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" …

Member Avatar for JorgeM
0
176
Member Avatar for Mona Ali

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 = …

Member Avatar for raviragarwal292
0
2K
Member Avatar for mgold

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 …

Member Avatar for JamesCherrill
0
370
Member Avatar for pavanik

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?

Member Avatar for Assembly Guy
-1
131
Member Avatar for brandon66

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 …

Member Avatar for hag++
0
580
Member Avatar for Kris_2

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 …

Member Avatar for Kris_2
0
372
Member Avatar for erum

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 ..

Member Avatar for erum
0
113
Member Avatar for grafic.web

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 …

Member Avatar for grafic.web
0
743
Member Avatar for yaragalla_mural

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 …

Member Avatar for yaragalla_mural
0
219
Member Avatar for NewHeart42108

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] = '&nbsp;'; $option_text = <<<TABLE <tr> <td>$desc</td> <td …

Member Avatar for ryantroop
0
253
Member Avatar for yaragalla_mural

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 …

Member Avatar for yaragalla_mural
0
639
Member Avatar for hilRunr

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.

Member Avatar for hilRunr
0
193
Member Avatar for gahhon

#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 …

Member Avatar for gahhon
0
300
Member Avatar for YakuzaJevin

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 :)

Member Avatar for hag++
0
255
Member Avatar for kseguy

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 …

Member Avatar for hag++
0
2K
Member Avatar for laura301019

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 …

Member Avatar for GliderPilot
0
258
Member Avatar for Moderns

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 …

Member Avatar for theHop
0
224
Member Avatar for brynFlew

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

Member Avatar for Samanalevi
1
360
Member Avatar for Alan_3

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 …

Member Avatar for designershiv
0
4K
Member Avatar for hasan101002
Member Avatar for Waado

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 …

Member Avatar for JorgeM
0
1K

The End.