15,121 Topics

Member Avatar for
Member Avatar for Priti_P

Hello, I have written an ajax call: $.ajax({ url:'summary_page_data', type:'POST', data:name={}, context: this, dataType: 'json', success:function(data_){ if(data_!= -1) { data=JSON.stringify(data_); alert(data); $('#write_table').append('<p>Summary:<br><br>[FORM TABLE HERE]</p>'); } else alert("outside") } }); In this "summary_page_data" i have written `echo json_encode($skills);` SO it is returning array. when i alert the return data, it shows …

Member Avatar for Airshow
0
235
Member Avatar for safi.najjar1

Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () { count.val(parseInt($(".count").val()) + 1); }); and HTML code: for first product and other products: <td> <input type="button" id="minusInCart" class="minus" value="-"> …

Member Avatar for Airshow
0
2K
Member Avatar for Nishant80
Member Avatar for murali2489

Hi All, My application works fine in ie 8 but while running the application in IE 11, at first it loads fine. But after sometime when i click on any button or any links in the page, I am getting an error stating ** No action exist for view Null …

0
119
Member Avatar for vuyiswamb

Good Day all i am reluctantly maintaining a Classic Asp application that will be re-written in few months to come. i have an issue where i have a Code like this if(document.frmEntry.optMethod != "undefined") { if (document.frmEntry.optMethod.selectedIndex == 0) { strPrompt=strPrompt+'Please specify the Valuation Method\n'; if ( objFocus == null …

Member Avatar for Airshow
0
171
Member Avatar for Priti_P

Hello, I have created sliding fieldsets using javascripts. in it, I have created fieldsets using for loop. Now I want , while I click on NEXT of one fieldset , then whatever input type fields are available on that fieldset , I should get them. I want to store it …

Member Avatar for Airshow
0
288
Member Avatar for mrvijayakumar

I want to sort four dimensional array based on 0th index by using following method, Here is the code: var main_arr = [ [] ]; var hdnFromValues = [11,16,12,17,14,18,15]; var hdnToValues = [12,17,13,18,15,19,16]; var hdnSPIDs = [11,12,13,14,0,0,0]; var hdnFlag = [D,E,E,D,A,A,A]; for (var j = 0; j < hdnFromValues.length; j++) …

Member Avatar for Airshow
0
308
Member Avatar for Himanshu Chawla

**Hello Actually i want to make dropdown list dynamically in C# . So that in that dropdown list when i enter some value it should retrieve value from database and also when enter any alphabet, so at that time it show all the names with that alphabet in the starting …

Member Avatar for Taywin
0
204
Member Avatar for Priti_P

Hello, I have used for loop to create checkboxes. and on each of them i want to know its checked or unchecked. code is as below: foreach ($All_skill_type as $All_skill_type_) { $each_skill_type=$All_skill_type_ -> skill_type ; // find skill_type_id and serach Skills for that skill_type $skill_type_id=helpers::getSkillTypeId($each_skill_type); $skills_of_skill_type=helpers::getskills($skill_type_id); ?> <fieldset class="step"> <p> …

Member Avatar for Priti_P
0
144
Member Avatar for ultmt.punisher

I am creating chat program in php using jquery, ajax and MySQL. and my problem how to auto scroll down when div is overflowed. like when user enter new line it will goes down and I want to auto scroll down when new messages appeares down. and I am trying …

Member Avatar for ultmt.punisher
0
7K
Member Avatar for Siberian

I know I can write Javascript to do this. Doesn't jQuery have a close parameter, there is nothing listing in the API ? I want to close a div, not have any effect as my current script. $('.close').click(function(c){ $(this).fadeOut('50'); });

Member Avatar for Siberian
0
91
Member Avatar for Siberian

This is a follow up to another thread, lets say the other thread didn't occur, kapeesh :) ! This [code](http://jsfiddle.net/WildWind/3AXB9/) is telling me I'm missing a semi-colon, I can't see where it's missing the code looks clean to me ?

Member Avatar for Siberian
0
194
Member Avatar for itisnot_me

Hey all, I have done a lot of research on this subject but cannot seem to get this to work again. I recently went from tinymce 3 to 4 and it seems that its kind of broken with jquery ui tabs. I have one main textarea that shows the editor …

Member Avatar for itisnot_me
0
184
Member Avatar for ultmt.punisher

I have created a chat program that is working fine on localhost but in the live server its not working fine, its sent response or text very late, So I don't know what code should I post here to get know whats the problem or how it will be solved. …

Member Avatar for diafol
0
2K
Member Avatar for Gianluca_1

Hey guys, so I'm creating this webapp that creates a QrCode based on informations given by the user, decodes QrCodes and creates a log. I would like some tips, like QrCodes, Image processing, Getting SubImages libraries and API's. I'm using HTML5, CSS3 and JavaScript. This webapp will be able to …

Member Avatar for NotoriousZeus
0
281
Member Avatar for Koh_1

Dear all, May I know what is the problem for my source code. I let the user to choose the Quarter and Subdept. But when the user choose one of the Subdept, it will show this error Expected '}' at line (var rows = eval('(' + xmlhttp.responseText + ')');) May …

Member Avatar for Koh_1
0
211
Member Avatar for Adam_16

I am new to programming and I have learned the language javascript and jquery but I can't actually make things work. In other words I know all the parts of the language, but I can't turn ideas into code. Does anybody have ideas on how to learn to code ideas?

Member Avatar for Adam_16
0
88
Member Avatar for jelly46

I have managed to put together a [responsive menu](http://jsfiddle.net/c2webdev/Pb8Ts/1/) with the help from the internet. I've need it to sit in the footer as well, but to be controlled sepratley, I have copied it and placed it in the footer but I can't seem to get it right. Can you …

Member Avatar for jelly46
0
150
Member Avatar for nikk8a

Hi Friends, Working with communication between a child javascript window and parent jsp function, I am trying to access a function defined in the parent jsp from its child window which is a separate js file. This logic works fine in IE, but breaks in Chrome. * Parent function: multiCreateCallback() …

Member Avatar for nikk8a
0
1K
Member Avatar for david.roun.7

Hi all. I'm writing my first javascript game. It's a role playing game where the user fights an Ogre, and not elaborate at all. I'd like the game to end when the Ogre's life is at zero OR the users life is at zero. I can't figure out how to …

Member Avatar for david.roun.7
0
290
Member Avatar for divyakrishnan

Hi.. I want to open an existing popup and append the content to the pop up. I have used the following code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script> function disimage() { var WindowObject = window.open('p1.html', "PrintWindow", "width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes"); …

Member Avatar for divyakrishnan
0
206
Member Avatar for SimonIoa

Does anybody sees a fault in this? both codes are in the same file. It seems it doesnt gets in the javascript/ajax script because the alert doesnt work but i cant figure out why? <form method="post" enctype="text/plain"> <textarea name="update_press" id="update_press"></textarea> <input type="submit" name="press_button" class="press_button" id="press_button" value="Submit"> </form> <SCRIPT> $(".press_button").click(function() { …

Member Avatar for iamthwee
0
299
Member Avatar for jamojo

Hi Everyone, I have a javascript function below: function submitUserInfo() { if (myForm.validator.validate()) { var data = $('get-user-info').serialize(true); var params = data; var url = 'http://www.mysite/engine/'; var request = new Ajax.Request(url, { method: 'post', parameters: params, onSuccess: function (transport) { //alert(transport.responseText); $('paywall-img').innerHTML = ''; $('paywall-img').insert(transport.responseText); $('paywall-img').insert('<button class="button close-pw"><span>Cancel</span></button>'); }.bind(this), onFailure: …

Member Avatar for AleMonteiro
0
255
Member Avatar for IWDesigns

hi, i have a site built in CI and i have integrated a js/jq image slider into the index page. i linked all the files to the correct places but for some reason the js isnt working? some of the fonts in the slider are controled by js files, and …

Member Avatar for Raj Kumar_1
0
702
Member Avatar for Siberian

The following code, use to work, now it's not ? $("<selector>").animate({bottom:'-1200'}), -1300, 'easeOutBounce'); });

Member Avatar for Siberian
0
256
Member Avatar for weeraa

I'm tring to move html element on run time. (1) Call function from code behind. (Button1_Click1 event) ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc(100,200);", true); (2) It redirect to JS function. (This function is used to change the location of html attribute) function testFunc(x,y) { document.getElementById('draggable').style.top = x; document.getElementById('draggable').style.left = y; } in …

Member Avatar for AleMonteiro
0
286
Member Avatar for munchlaxxx

This is what I was trying to do: The user enters an address, which is autocompleted by Google. Then when they press the submit button, an alert box pops up, telling them whether the address entered is within 5 miles of (42.352487, -71.079290). Then a confirm box pops up asking …

Member Avatar for AleMonteiro
0
1K
Member Avatar for deva89

I am developing a project on PHP and MySQL. My problem is "I am unable to show a uniqueID in a textbox like 'GHY00001, GHY00002, etc' auto-incremented everytime i load the page and insert it into the database". I already tried some php tutorials but didn't find usuable to my …

Member Avatar for AndrisP
0
471
Member Avatar for sandy4a0

Hi i am facing error in below code not able to add rows could anyone help please <html> <head> <title>Row Added</title> </head> <script> function sample(){ var table='<table width="100" id="+sample+">'; table=table.concat("<tr>"); table=table.concat("<td>Add rows</td>"); table=table.concat("<td><input type="button" name="Add" value="Add"</td>"); table=table.concat("<td><input type="button" name="Delete" value="Delete"</td>"); table=table.concat("</tr>"); table=table.concat("</table>"); document.getElementById("sample").innerHTML+=table; } </script> <body> <table> <tr> <td>Enter the …

Member Avatar for AleMonteiro
0
271
Member Avatar for ravi142

Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You.

Member Avatar for diafol
0
384

The End.